summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_032.phpt
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-02-07 11:10:32 +0000
committerAntony Dovgal <tony2001@php.net>2007-02-07 11:10:32 +0000
commit0f0fe9c96714776cec451792249854ff675c5b36 (patch)
treec991f5e35f5d01185a952e4c726bec1c126ee023 /Zend/tests/errmsg_032.phpt
parent3f8e222ab36a12c9e3bd2ed3fff1db482d616bff (diff)
downloadphp-git-0f0fe9c96714776cec451792249854ff675c5b36.tar.gz
MFH: new tests
Diffstat (limited to 'Zend/tests/errmsg_032.phpt')
-rw-r--r--Zend/tests/errmsg_032.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Zend/tests/errmsg_032.phpt b/Zend/tests/errmsg_032.phpt
new file mode 100644
index 0000000000..6e34604cd8
--- /dev/null
+++ b/Zend/tests/errmsg_032.phpt
@@ -0,0 +1,15 @@
+--TEST--
+errmsg: __construct() cannot be static
+--FILE--
+<?php
+
+class test {
+
+ static function __construct() {
+ }
+}
+
+echo "Done\n";
+?>
+--EXPECTF--
+Fatal error: Constructor test::__construct() cannot be static in %s on line %d