1--TEST--
2Test sql_regcase() function : basic functionality
3--FILE--
4<?php
5/* Prototype  : proto string sql_regcase(string string)
6 * Description: Make regular expression for case insensitive match
7 * Source code: ext/standard/reg.c
8 * Alias to functions: msql_regcase
9 */
10
11echo "*** Testing sql_regcase() : basic functionality ***\n";
12
13
14// Initialise all required variables
15$string = 'string_Val-0';
16
17// Calling sql_regcase() with all possible arguments
18var_dump( sql_regcase($string) );
19
20echo "Done";
21?>
22--EXPECTF--
23*** Testing sql_regcase() : basic functionality ***
24
25Deprecated: Function sql_regcase() is deprecated in %s on line %d
26string(39) "[Ss][Tt][Rr][Ii][Nn][Gg]_[Vv][Aa][Ll]-0"
27Done
28