File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
Zend /
tests /
bug54305.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:47:52 2012 UTC (13 years, 1 month ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
1: --TEST--
2: Bug #54305 (Crash in gc_remove_zval_from_buffer)
3: --FILE--
4: <?php
5: class TestClass {
6: public function methodWithArgs($a, $b) {
7: }
8: }
9: abstract class AbstractClass {
10: }
11: $methodWithArgs = new ReflectionMethod('TestClass', 'methodWithArgs');
12: echo $methodWithArgs++;
13: ?>
14: --EXPECTF--
15: Method [ <user> public method methodWithArgs ] {
16: @@ %sbug54305.php %d - %d
17:
18: - Parameters [2] {
19: Parameter #0 [ <required> $a ]
20: Parameter #1 [ <required> $b ]
21: }
22: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>