summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug37262.phpt
blob: b964c4a6592f0c52184a92176233d491c8c7690f (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #37262 (var_export() does not escape \0 character)
--FILE--
<?php
$func = create_function('$a', 'return $a;');
var_export($func);
?>
--EXPECTF--
Deprecated: Function create_function() is deprecated in %s on line %d
'' . "\0" . 'lambda_%d'