Home > Backend Development > PHP Tutorial > php extract 导入变量问题?

php extract 导入变量问题?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:10:27
Original
960 people have browsed it

hi,guys。
我序列化了一个json串,能否通过

<code> extract(json_decode("{'hello':'world'}",true));</code>
Copy after login
Copy after login

的方式,将$hello,
导入到当前的上下文中。

如果不行,有什么解决办法?

回复内容:

hi,guys。
我序列化了一个json串,能否通过

<code> extract(json_decode("{'hello':'world'}",true));</code>
Copy after login
Copy after login

的方式,将$hello,
导入到当前的上下文中。

如果不行,有什么解决办法?

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template