1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 22:52:40 +02:00
Files
archived-php-src/Zend/tests/enum/var_export.phpt

22 lines
251 B
PHP

--TEST--
Enum var_export
--FILE--
<?php
enum Foo {
case Bar;
}
var_export(Foo::Bar);
// Should not warn about recursion
echo "\n";
echo str_replace(" \n", "\n", var_export([Foo::Bar], true));
?>
--EXPECT--
Foo::Bar
array (
0 =>
Foo::Bar,
)