summaryrefslogtreecommitdiff
path: root/Zend/tests/bug69025.phpt
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-02-11 17:41:21 +0300
committerDmitry Stogov <dmitry@zend.com>2015-02-11 17:41:21 +0300
commit35aea97e42ebad10437688472fa03c6768ca6ea3 (patch)
treeef9fb44c49c74f01ab450791890f141c4ec6d4af /Zend/tests/bug69025.phpt
parent52f5cb914eaf1a6474cb3e9c807d131b7c34b5c5 (diff)
downloadphp-git-35aea97e42ebad10437688472fa03c6768ca6ea3.tar.gz
Fixed bug #69025 (Invalid read of size 4 when calling __callStatic)
Diffstat (limited to 'Zend/tests/bug69025.phpt')
-rw-r--r--Zend/tests/bug69025.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Zend/tests/bug69025.phpt b/Zend/tests/bug69025.phpt
new file mode 100644
index 0000000000..389c09f75f
--- /dev/null
+++ b/Zend/tests/bug69025.phpt
@@ -0,0 +1,15 @@
+--TEST--
+Bug #69025 (Invalid read of size 4 when calling __callStatic)
+--FILE--
+<?php
+class A {
+ public static function __callStatic($method, $args)
+ {
+ }
+}
+
+A::init();
+?>
+OK
+--EXPECT--
+OK