blob: 06be60892c629f962700034055f1da278a2af347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--TEST--
SSA construction for CFG with unreachable basic blocks
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
class X {
public function __get($n) {
if ($n === 'type') {
trigger_error('Deprecated type property called; use instanceof', E_USER_NOTICE);
switch (get_class($this)) {
case 'HTMLPurifier_Token_Start': return 'start';
default: return null;
}
}
}
}
?>
OK
--EXPECT--
OK
|