diff options
| author | Nikita Popov <nikic@php.net> | 2015-11-06 23:00:39 +0100 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2015-11-07 12:04:51 +0100 |
| commit | 632bee4abbcca0f3ab6ec2b15c87fb946b6d7129 (patch) | |
| tree | 45aacc369fc6b48aa3e98de8fee6b992a89d1d6c /Zend/tests/varSyntax | |
| parent | c263dcee2ff727946b66380b6374f5d753bd8d36 (diff) | |
| download | php-git-632bee4abbcca0f3ab6ec2b15c87fb946b6d7129.tar.gz | |
Fix update_opX_const lowercasing
It was lowering in-place.
Diffstat (limited to 'Zend/tests/varSyntax')
| -rw-r--r-- | Zend/tests/varSyntax/static_prop_on_expr_class.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/varSyntax/static_prop_on_expr_class.phpt b/Zend/tests/varSyntax/static_prop_on_expr_class.phpt new file mode 100644 index 0000000000..d17b6cdb0b --- /dev/null +++ b/Zend/tests/varSyntax/static_prop_on_expr_class.phpt @@ -0,0 +1,13 @@ +--TEST-- +Accessing a static property on a statically evaluable class expression +--FILE-- +<?php + +class A { + public static $b = 42; +} +var_dump(('A' . (string) '')::$b); + +?> +--EXPECT-- +int(42) |
