-
Notifications
You must be signed in to change notification settings - Fork 885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于静态字符串的一个疑惑 #39
Comments
在使用xdebug_debug_zval 对官方例子进行测试的使用发现PHP7.2跟PHP7.3两个不同版本下面结果差异 PHP7.3环境运行结果: echo phpversion() . PHP_EOL;
$a = "hi~";
$b = $a;
xdebug_debug_zval('a');
//结果:
7.3.0-2+ubuntu18.04.1+deb.sury.org+1
a: (refcount=1, is_ref=0)='hi~'
PHP7.2环境运行结果: 7.2.19-0ubuntu0.18.04.2
a: (refcount=0, is_ref=0)='123' 如果按照官方例子应该是PHP7.2的运行结果,是PHP7.3对这方面进行了更新吗?? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: