- Mbstring:
. Fixed bug #73532 (Null pointer dereference in mb_eregi). (Laruence)
-- Mysqlnd:\r
- . Fixed bug #64526 (Add missing mysqlnd.* parameters to php.ini-*). (cmb)\r
-\r
+- Mysqlnd:
+ . Fixed bug #64526 (Add missing mysqlnd.* parameters to php.ini-*). (cmb)
+
- Opcache:
. Fixed bug #69090 (check cached files permissions)
. Fixed bug #73530 (Unsetting result set may reset other result set). (cmb)
- Standard:
- . Fixed bug #73297 (HTTP stream wrapper should ignore HTTP 100 Continue).
- (rowan dot collins at gmail dot com)
+ . Fixed bug #73297 (HTTP stream wrapper should ignore HTTP 100 Continue).
+ (rowan dot collins at gmail dot com)
+ . Fixed bug #73303 (Scope not inherited by eval in assert()). (nikic)
- XML:
. Fixed bug #72135 (malformed XML causes fault) (edgarsandi)
10 Nov 2016, PHP 7.1.0RC6
- Core:
- . Fixded bug #72736 (Slow performance when fetching large dataset with mysqli
+ . Fixed bug #72736 (Slow performance when fetching large dataset with mysqli
/ PDO). (Dmitry)
. Fixed bug #72482 (Ilegal write/read access caused by gdImageAALine
overflow). (cmb)
EG(no_extensions)=1;
+ new_op_array->scope = zend_get_executed_scope();
+
zend_try {
ZVAL_UNDEF(&local_retval);
zend_execute(new_op_array, &local_retval);
--- /dev/null
+--TEST--
+Bug #73303: Scope not inherited by eval in assert()
+--FILE--
+<?php
+
+class Test {
+ public $prop;
+
+ public function main(){
+ assert('self::checkCacheKey(get_object_vars($this))');
+ echo 'Success';
+ }
+ private static function checkCacheKey($obj_properties){
+ return count($obj_properties) == 1;
+ }
+}
+
+$obj = new Test();
+$obj->main();
+
+?>
+--EXPECT--
+Success