summaryrefslogtreecommitdiff
path: root/Zend/tests/bug24699.phpt
blob: 81ca4f509176c81c975a1964011735d10d5f6e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Bug #24699 (Memory Leak with per-class constants)
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 is needed'); ?>
--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