summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/stripos.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/stripos.phpt')
-rw-r--r--ext/standard/tests/strings/stripos.phpt14
1 files changed, 13 insertions, 1 deletions
diff --git a/ext/standard/tests/strings/stripos.phpt b/ext/standard/tests/strings/stripos.phpt
index ef0efe5b23..057b8ca494 100644
--- a/ext/standard/tests/strings/stripos.phpt
+++ b/ext/standard/tests/strings/stripos.phpt
@@ -28,7 +28,7 @@ stripos() function test
echo "Done\n";
?>
---EXPECT--
+--EXPECTF--
int(0)
int(5)
int(5)
@@ -45,11 +45,23 @@ int(0)
bool(false)
bool(false)
bool(false)
+
+Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
bool(false)
+
+Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
bool(false)
+
+Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
bool(false)
+
+Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
bool(false)
+
+Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
bool(false)
+
+Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
bool(false)
int(1)
Done