summaryrefslogtreecommitdiff
path: root/tests/run-test/test005.phpt
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-01-01 12:43:59 +0000
committerDerick Rethans <derick@php.net>2003-01-01 12:43:59 +0000
commit6197460836021d8ac3d4f38e1c73de03bb7945f0 (patch)
treecc90fc2466fc5d1e335b03ae10902faf884e6246 /tests/run-test/test005.phpt
parent9b09ba614df58aaff97206bc05ffb06f4d57f93f (diff)
downloadphp-git-6197460836021d8ac3d4f38e1c73de03bb7945f0.tar.gz
- Fix tests if Zend Optimizer is loaded
Diffstat (limited to 'tests/run-test/test005.phpt')
-rw-r--r--tests/run-test/test005.phpt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/run-test/test005.phpt b/tests/run-test/test005.phpt
index 04f62105a4..65459f8f86 100644
--- a/tests/run-test/test005.phpt
+++ b/tests/run-test/test005.phpt
@@ -1,5 +1,9 @@
--TEST--
-Error message handling
+Error message handling (without ZendOptimizer)
+--SKIPIF--
+<?php
+!extension_loaded("Zend Optimizer") or die("skip Zend Optimizer is loaded");
+?>
--FILE--
<?php
// If this test fails ask the developers of run-test.php