summaryrefslogtreecommitdiff
path: root/Zend/tests/assert/bug70208.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/assert/bug70208.phpt')
-rw-r--r--Zend/tests/assert/bug70208.phpt24
1 files changed, 0 insertions, 24 deletions
diff --git a/Zend/tests/assert/bug70208.phpt b/Zend/tests/assert/bug70208.phpt
deleted file mode 100644
index 6b7dfaeb33..0000000000
--- a/Zend/tests/assert/bug70208.phpt
+++ /dev/null
@@ -1,24 +0,0 @@
---TEST--
-Bug #70208 (scope information must be preserved with assert())
---FILE--
-<?php
-
-function non_class_scope() {
- return true;
-}
-
-class test {
- protected $prop = 1;
-
- public function __construct() {
- assert('non_class_scope();');
- var_dump($this->prop);
- }
-}
-
-new test;
-
-?>
---EXPECTF--
-Deprecated: assert(): Calling assert() with a string argument is deprecated in %s on line %d
-int(1)