mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
9541a66cb8
- MFH: Fixed broken explode() test
14 lines
215 B
PHP
14 lines
215 B
PHP
--TEST--
|
|
var_export() and empty array keys
|
|
--FILE--
|
|
<?php
|
|
$a = array ("\0" => 'null', "" => 'empty', "0" => 'nul');
|
|
var_export($a);
|
|
?>
|
|
--EXPECT--
|
|
array (
|
|
'' . "\0" . '' => 'null',
|
|
'' => 'empty',
|
|
0 => 'nul',
|
|
)
|