summaryrefslogtreecommitdiff
path: root/sapi/cli
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-02 11:25:41 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-02 11:25:41 +0200
commit184fdac7c2dd4bf97a6c70de6d9385c203e4a88a (patch)
tree37e251f424f464efb1242769df063dc0a09e6e8c /sapi/cli
parent083b0c38a0aad768403d9fc973e70e02712bd031 (diff)
downloadphp-git-184fdac7c2dd4bf97a6c70de6d9385c203e4a88a.tar.gz
Remove <default> prefix from reflection dump
This really doesn't add anything, and only makes for confusing terminology. Only marking properties as dynamic is sufficient.
Diffstat (limited to 'sapi/cli')
-rw-r--r--sapi/cli/tests/005.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt
index ad0ea37c29..e8faa79f0d 100644
--- a/sapi/cli/tests/005.phpt
+++ b/sapi/cli/tests/005.phpt
@@ -37,7 +37,7 @@ string(183) "Class [ <internal:Core> class stdClass ] {
}
"
-string(2008) "Class [ <internal:Core> class Exception implements Throwable, Stringable ] {
+string(1980) "Class [ <internal:Core> class Exception implements Throwable, Stringable ] {
- Constants [0] {
}
@@ -49,13 +49,13 @@ string(2008) "Class [ <internal:Core> class Exception implements Throwable, Stri
}
- Properties [7] {
- Property [ <default> protected $message ]
- Property [ <default> private $string ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- Property [ <default> private $trace ]
- Property [ <default> private $previous ]
+ Property [ protected $message = '' ]
+ Property [ private $string = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected $file = NULL ]
+ Property [ protected $line = NULL ]
+ Property [ private $trace = NULL ]
+ Property [ private $previous = NULL ]
}
- Methods [11] {