xref: /PHP-8.0/Zend/tests/bug24699.phpt (revision a8d901a8)
1--TEST--
2Bug #24699 (Memory Leak with per-class constants)
3--FILE--
4<?php
5class TEST { const FOO = SEEK_CUR; };
6class TEST2 { const FOO = 1; };
7class TEST3 { const FOO = PHP_VERSION; };
8print TEST::FOO."\n";
9?>
10--EXPECT--
111
12