![]() ![]() | ![]() |
1.1 misho 1: --TEST--
2: Bug #52237 (Crash when passing the reference of the property of a non-object)
3: --FILE--
4: <?php
5: $data = 'test';
6: preg_match('//', '', $data->info);
7: var_dump($data);
8: ?>
9: --EXPECTF--
1.1.1.2 ! misho 10:
1.1 misho 11: Warning: Attempt to modify property of non-object in %sbug52237.php on line 3
12: string(4) "test"