xref: /PHP-5.3/Zend/tests/bug24699.phpt (revision 8547de3f)
1--TEST--
2Bug #24699 (Memory Leak with per-class constants)
3--SKIPIF--
4<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 is needed'); ?>
5--FILE--
6<?php
7class TEST { const FOO = SEEK_CUR; };
8class TEST2 { const FOO = 1; };
9class TEST3 { const FOO = PHP_VERSION; };
10print TEST::FOO."\n";
11?>
12--EXPECT--
131
14