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