xref: /PHP-5.6/ext/opcache/tests/bug70632.phpt (revision 2fb8bb11)
1--TEST--
2Bug #70632 (Third one of segfault in gc_remove_from_buffer)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.protect_memory=1
7--SKIPIF--
8<?php if (!extension_loaded('Zend OPcache')) die("skip"); ?>
9--FILE--
10<?php
11
12class A {
13	public function test($a = array("okey")) {
14	}
15}
16
17
18eval ("class B extends A { public function test() {} }");
19?>
20--EXPECTF--
21Strict Standards: Declaration of B::test() should be compatible with A::test($a = Array) in %sbug70632.php(%d) : eval()'d code on line %d
22