]> granicus.if.org Git - php/commitdiff
smaller tests already exist
authorRaghubansh Kumar <kraghuba@php.net>
Sat, 29 Sep 2007 17:21:41 +0000 (17:21 +0000)
committerRaghubansh Kumar <kraghuba@php.net>
Sat, 29 Sep 2007 17:21:41 +0000 (17:21 +0000)
ext/standard/tests/strings/stripos_basic.phpt [deleted file]

diff --git a/ext/standard/tests/strings/stripos_basic.phpt b/ext/standard/tests/strings/stripos_basic.phpt
deleted file mode 100644 (file)
index 8bc44e7..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
---TEST--
-Test stripos() function : basic functionality 
---FILE--
-<?php
-/* Prototype  : int stripos ( string $haystack, string $needle [, int $offset] );
- * Description: Find position of first occurrence of a case-insensitive string
- * Source code: ext/standard/string.c
-*/
-
-/* Test stripos() function by providing all the parameters */
-
-echo "*** Test stripos() : basic functionality ***\n";
-/* Initialize all required variables */
-$haystack = 'string';
-$needle = 'ring';
-$offset = 3;
-/* Calling stripos() with default arguments */
-var_dump( stripos($haystack, $needle) );
-/* Calling stripos() with all arguments */
-var_dump( stripos($haystack, $needle, $offset) );
-echo "*** Done ***\n";
-?>
---EXPECTF--
-*** Test stripos() : basic functionality ***
-int(2)
-bool(false)
-*** Done ***