summaryrefslogtreecommitdiff
path: root/ext/opcache/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-25 12:50:12 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-25 12:50:12 +0200
commit74699533e54a2b2e6093834652138b6d3a71e5b8 (patch)
treea98a8ca1c8f769cff61d8d87bf8b77ec66dba7f3 /ext/opcache/tests
parent813305b67f3022da3efb071114b7cc1e47ace005 (diff)
parent52499938142351d20a46c2b941e957ab0d618109 (diff)
downloadphp-git-74699533e54a2b2e6093834652138b6d3a71e5b8.tar.gz
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Fixed bug #78747
Diffstat (limited to 'ext/opcache/tests')
-rw-r--r--ext/opcache/tests/internal_func_info_static_method.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/opcache/tests/internal_func_info_static_method.phpt b/ext/opcache/tests/internal_func_info_static_method.phpt
new file mode 100644
index 0000000000..df4e9b2aab
--- /dev/null
+++ b/ext/opcache/tests/internal_func_info_static_method.phpt
@@ -0,0 +1,14 @@
+--TEST--
+Internal static methods should not be confused with global functions
+--SKIPIF--
+<?php
+if (!extension_loaded('zend-test')) die('skip requires zend-test');
+?>
+--FILE--
+<?php
+
+var_dump(is_bool(_ZendTestClass::is_object()));
+
+?>
+--EXPECT--
+bool(false)