mirror of
https://github.com/php/php-src.git
synced 2026-10-28 17:56:50 +08:00
15 lines
162 B
PHP
15 lines
162 B
PHP
--TEST--
|
|
When an enum does not have __debugInfo() it is printed nicely
|
|
--FILE--
|
|
<?php
|
|
|
|
enum Foo {
|
|
case Bar;
|
|
}
|
|
|
|
var_dump(Foo::Bar);
|
|
|
|
?>
|
|
--EXPECT--
|
|
enum(Foo::Bar)
|