File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
ereg /
tests /
sql_regcase_basic_001.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:47:54 2012 UTC (12 years, 6 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
--TEST--
Test sql_regcase() function : basic functionality
--FILE--
<?php
/* Prototype : proto string sql_regcase(string string)
* Description: Make regular expression for case insensitive match
* Source code: ext/standard/reg.c
* Alias to functions: msql_regcase
*/
echo "*** Testing sql_regcase() : basic functionality ***\n";
// Initialise all required variables
$string = 'string_Val-0';
// Calling sql_regcase() with all possible arguments
var_dump( sql_regcase($string) );
echo "Done";
?>
--EXPECTF--
*** Testing sql_regcase() : basic functionality ***
Deprecated: Function sql_regcase() is deprecated in %s on line %d
string(39) "[Ss][Tt][Rr][Ii][Nn][Gg]_[Vv][Aa][Ll]-0"
Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>