blob: 56757f56a4c35a69dc5c3428ee9bda42fb851b1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--TEST--
SSA constrution for CFG with unreachable basic blocks
--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
|