com php-src: Use die: ext/xsl/tests/bug70535.phpt
| From: | Xinchen Hui | Date: | Sun, 20 Sep 2015 16:34:28 +0000 |
| Subject: | com php-src: Use die: ext/xsl/tests/bug70535.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89093@lists.php.net to get a copy of this message | ||
Commit: 4febfc25a6ee4bc46ce09e991be0359d81809bde
Author: Xinchen Hui <laruence@gmail.com> Sun, 20 Sep 2015 09:34:28 -0700
Parents: 3fc5f5cdb5d22461241b38d0e8cba8ae89b2db71
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4febfc25a6ee4bc46ce09e991be0359d81809bde
Log:
Use die
Changed paths:
M ext/xsl/tests/bug70535.phpt
Diff:
diff --git a/ext/xsl/tests/bug70535.phpt b/ext/xsl/tests/bug70535.phpt
index 26b4d3c..f775e87 100644
--- a/ext/xsl/tests/bug70535.phpt
+++ b/ext/xsl/tests/bug70535.phpt
@@ -2,8 +2,8 @@
Bug #70535 (XSLT: free(): invalid pointer)
--SKIPIF--
<?php
-if (!extension_loaded('xsl')) die("skip Extension XSL is required\n");
-if (!extension_loaded("simplexml")) print "skip simplexml extension is not
loaded";
+if (!extension_loaded('xsl')) die("skip Extension XSL is required");
+if (!extension_loaded("simplexml")) die("skip simplexml extension is not
loaded");
?>
--FILE--
<?php