Arquivos
hhvm/hphp/test/quick/debugger/break3.php.in
T
Herman Venter acd68c4899 Check that the names used in function name breakpoints are valid PHP identifiers
Breakpoints of the form func() used the same routine to scan names as breakpoints of the form filename:lineno. This meant that you could write something like obj->func() and not get an error message. To fix this I've added a validation routine that is invoked when it has been determined that a name is part of a function name.
2013-07-23 11:44:32 -07:00

37 linhas
730 B
Plaintext

continue
break \TestNs\foo()
@ \TestNs\foo('test_break1')
variable
break clear all
continue
break TestNs\cls::pubObj()
@ $break8=new \TestNs\cls()
@ $break8->pubObj('test_break2')
variable
break clear all
break \TestNs\break8->pubObj()
break TestNs\cls::break8->pubObj()
continue
break \TestNs\cls::pubCls()
@ \TestNs\cls::pubCls('test_break3')
variable
break clear all
continue
break \TestNs\Nested\foo()
@ \TestNs\Nested\foo('test_break4')
variable
break clear all
continue
break TestNs\Nested\cls::pubObj()
@ $break8=new \TestNs\Nested\cls()
@ $break8->pubObj('test_break5')
variable
break clear all
continue
break \TestNs\Nested\cls::pubCls()
@ \TestNs\Nested\cls::pubCls('test_break6')
variable
break clear all
continue
quit