tests: skip ~E_DEPRECATED
[m6w6/ext-http] / tests / client024.phpt
index ac29865cca76dca99d4709b398b51a0ac6bde334..4e8fe2f9bf8d695e810ca41fa859c8b321d22b01 100644 (file)
@@ -4,6 +4,8 @@ client deprecated methods
 <?php
 include "skipif.inc";
 skip_client_test();
+if (!(error_reporting() & E_DEPRECATED))
+       die("skip error_reporting() & ~E_DEPRECATED\n");
 ?>
 --FILE--
 <?php