mirror of
https://github.com/php/php-src.git
synced 2024-12-20 07:20:33 +08:00
12 lines
224 B
PHP
12 lines
224 B
PHP
--TEST--
|
|
Bug #24699 (Memory Leak with per-class constants)
|
|
--FILE--
|
|
<?php
|
|
class TEST { const FOO = SEEK_CUR; };
|
|
class TEST2 { const FOO = 1; };
|
|
class TEST3 { const FOO = PHP_VERSION; };
|
|
print TEST::FOO."\n";
|
|
?>
|
|
--EXPECT--
|
|
1
|