mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
...
This commit is contained in:
parent
c4c9119a35
commit
ee5393ebf9
2 changed files with 11 additions and 22 deletions
|
@ -1,13 +0,0 @@
|
||||||
#################################################
|
|
||||||
# name: compile
|
|
||||||
# purpose: test pre-compilation
|
|
||||||
# expect: TEST::CISTRING
|
|
||||||
# options: -rr
|
|
||||||
#################################################
|
|
||||||
# set execution context
|
|
||||||
# attempting compilation
|
|
||||||
# success
|
|
||||||
#################################################
|
|
||||||
exec sapi/phpdbg/tests/code/class.php
|
|
||||||
compile
|
|
||||||
q
|
|
|
@ -1,17 +1,19 @@
|
||||||
#################################################
|
#################################################
|
||||||
# name: info
|
# name: info
|
||||||
# purpose: test info commands
|
# purpose: test info commands
|
||||||
# expect: TEST::CISTRING
|
# expect: TEST::FORMAT
|
||||||
# options: -rr
|
# options: -rr
|
||||||
#################################################
|
#################################################
|
||||||
# set execution context
|
#[User Classes (%d)]
|
||||||
# attempting compilation
|
#User Class test (3)
|
||||||
# success
|
#|---- in phpdbginit code on line %d
|
||||||
# user classes
|
|
||||||
# user class test
|
|
||||||
# |---- in
|
|
||||||
#################################################
|
#################################################
|
||||||
exec sapi/phpdbg/tests/code/class.php
|
<:
|
||||||
compile
|
class test {
|
||||||
|
public function testMethod(){}
|
||||||
|
private function testPrivateMethod(){}
|
||||||
|
protected function testProtectedMethod(){}
|
||||||
|
}
|
||||||
|
:>
|
||||||
info classes
|
info classes
|
||||||
q
|
q
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue