/PHP-5.5/ext/soap/tests/bugs/ |
H A D | bug31695.phpt | 31 $client->Test("str"); 33 $client->Test("str"); 39 $client->Test("str"); 40 $client->Test("str"); 42 $client->Test("str"); 44 $client->Test("str"); 46 $client->Test("str"); 48 $client->Test("str");
|
/PHP-5.5/ext/soap/tests/schema/ |
H A D | schema038.phpt | 11 <element name="str" type="string"/> 17 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); 22 …dy><ns1:test><testParam int="123" xsi:type="ns1:testType"><str xsi:type="xsd:string">str</str></te… 24 ["str"]=> 25 string(3) "str"
|
H A D | schema039.phpt | 11 <element name="str" type="string"/> 19 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); 24 …dy><ns1:test><testParam int="123" xsi:type="ns1:testType"><str xsi:type="xsd:string">str</str></te… 26 ["str"]=> 27 string(3) "str"
|
H A D | schema040.phpt | 11 <element name="str" type="string"/> 20 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); 25 …dy><ns1:test><testParam int="123" xsi:type="ns1:testType"><str xsi:type="xsd:string">str</str></te… 27 ["str"]=> 28 string(3) "str"
|
H A D | schema041.phpt | 15 <element name="str" type="string"/> 19 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5)); 24 … xsi:type="ns1:testType"><int xsi:type="xsd:int">123</int><str xsi:type="xsd:string">str</str></te… 28 ["str"]=> 29 string(3) "str"
|
H A D | schema074.phpt | 11 <element name="str" type="string"/> 17 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5), "rpc", "encoded… 22 …ns1:test><testParam ns1:int="123" xsi:type="ns1:testType"><str xsi:type="xsd:string">str</str></te… 24 ["str"]=> 25 string(3) "str"
|
H A D | schema065.phpt | 10 <attribute name="str" type="string"/> 14 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str")); 19 …schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test><testParam str="str" xsi:type="ns1:te… 21 ["str"]=> 22 string(3) "str"
|
H A D | schema066.phpt | 10 <attribute name="str" type="string"/> 14 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str")); 19 …schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test><testParam str="str" xsi:type="ns1:te… 21 ["str"]=> 22 string(3) "str"
|
H A D | schema067.phpt | 10 <attribute name="str" type="string"/> 14 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>5)); 19 …schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test><testParam str="str" int="5" xsi:type… 21 ["str"]=> 22 string(3) "str"
|
H A D | schema069.phpt | 10 <attribute name="str" type="string"/> 15 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str")); 20 …schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test><testParam str="str" xsi:type="ns1:te… 22 ["str"]=> 23 string(3) "str"
|
H A D | schema070.phpt | 10 <attribute name="str" type="string"/> 17 test_schema($schema,'type="tns:testType"',(object)array("str"=>"str")); 22 …schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test><testParam str="str" xsi:type="ns1:te… 24 ["str"]=> 25 string(3) "str"
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | strtok_basic.phpt | 5 /* Prototype : string strtok ( str $str, str $token ) 6 …* Description: splits a string (str) into smaller strings (tokens), with each token being delimite… 17 $str = 'This testcase test strtok() function.'; 20 echo "\nThe Input string is:\n\"$str\"\n"; 23 // using strtok() with $str argument 25 var_dump( strtok($str, $token) );
|
H A D | bug53319.phpt | 6 $str = '<br /><br />USD<input type="text"/><br/>CDN<br><input type="text" />'; 7 var_dump(strip_tags($str, '<input>')); 8 var_dump(strip_tags($str, '<br><input>') === $str); 9 var_dump(strip_tags($str));
|
H A D | strtr_variation1.phpt | 2 Test strtr() function : usage variations - regular & numeric strings for 'str' argument 5 /* Prototype : string strtr(string $str, string $from[, string $to]); 6 string strtr(string $str, array $replace_pairs); 7 * Description: Translates characters in str using given translation tables 12 * combination of numeric & regular strings for 'str' argument and 24 //array of string inputs for $str 47 $str = $str_arr[$index]; //getting the $str_arr element in $str variable 50 var_dump( strtr($str, $from, $to) ); 53 var_dump( strtr($str, $replace_pairs) );
|
H A D | strtr_variation3.phpt | 2 Test strtr() function : usage variations - string containing escape sequences for 'str' argument 5 /* Prototype : string strtr(string $str, string $from[, string $to]); 6 string strtr(string $str, array $replace_pairs); 7 * Description: Translates characters in str using given translation tables 12 * string containing various escape sequences for 'str' argument and 16 echo "*** Testing strtr() : string containing escape sequences for 'str' arg ***\n"; 28 //array of string inputs for $str 56 $str = $str_arr[$index]; //getting the array element in 'str' variable 59 var_dump( strtr($str, $from, $to) ); 62 var_dump( strtr($str, $replace_pairs) ); [all …]
|
H A D | parse_str_basic3.phpt | 26 $str = "arr[1]=sid&arr[4]=bill"; 27 var_dump(parse_str($str, $res)); 32 var_dump(parse_str($str, $res)); 65 var_dump($str); 70 var_dump($str); 74 var_dump(parse_str($str, $res)); 79 var_dump(parse_str($str, $res)); 84 var_dump(parse_str($str, $res)); 89 var_dump(parse_str($str, $res)); 110 string(3) "str" [all …]
|
H A D | chunk_split_variation13.phpt | 2 Test chunk_split() function : usage variations - default 'chunklen' with long string as 'str'argume… 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 12 * passing long string as 'str' and testing default value of chunklen which is 76 15 echo "*** Testing chunk_split() : default 'chunklen' with long string 'str' ***\n"; 23 //loop through each element of values for 'str' and default value of 'chunklen' 32 *** Testing chunk_split() : default 'chunklen' with long string 'str' ***
|
/PHP-5.5/tests/lang/ |
H A D | string_decimals_001.phpt | 5 function test($str) { 6 echo "\n--> Testing $str:\n"; 7 var_dump((int)$str); 8 var_dump((float)$str); 9 var_dump($str > 0);
|
H A D | execution_order.phpt | 9 var $str = "bad"; 28 $str = new strclass(); 29 $c = $str->str.($str->str="good"); 34 $str->str = "bad"; 36 $c = ($str->str="good").$str->str;
|
/PHP-5.5/tests/func/ |
H A D | 010.phpt | 30 $str = "<?php\nfunction x("; 33 $str .= '$v'.dechex($i).($i===($limit-1) ? '' : ','); 36 $str .= ') { 48 $str .= "\n\nx("; 51 $str .= "'".dechex($i)."'".($i===($limit-1) ? '' : ','); 54 $str .= ");\n"; 57 file_put_contents(dirname(__FILE__).'/010-file.php', $str); 58 unset($str);
|
/PHP-5.5/ext/intl/collator/ |
H A D | collator_is_numeric.c | 225 zend_uchar collator_is_numeric( UChar *str, int length, long *lval, double *dval, int allow_errors ) in collator_is_numeric() argument 237 if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X')) { in collator_is_numeric() 242 local_lval = collator_u_strtol(str, &end_ptr_long, conv_base); in collator_is_numeric() 244 if (end_ptr_long == str+length) { /* integer string */ in collator_is_numeric() 249 …} else if (end_ptr_long == str && *end_ptr_long != '\0' && *str != '.' && *str != '-') { /* ignore… in collator_is_numeric() 261 local_dval = collator_u_strtod(str, &end_ptr_double); in collator_is_numeric() 262 if (local_dval == 0 && end_ptr_double == str) { in collator_is_numeric() 265 if (end_ptr_double == str+length) { /* floating point string */ in collator_is_numeric()
|
H A D | collator_convert.c | 193 char* str = NULL; in collator_convert_zstr_utf16_to_utf8() local 198 intl_convert_utf16_to_utf8( &str, &str_len, in collator_convert_zstr_utf16_to_utf8() 204 ZVAL_STRINGL( utf8_zval, str, str_len, FALSE ); in collator_convert_zstr_utf16_to_utf8() 328 zval* collator_convert_string_to_number( zval* str ) in collator_convert_string_to_number() argument 331 if( num == str ) in collator_convert_string_to_number() 380 if( Z_TYPE_P( str ) != IS_STRING ) in collator_convert_string_to_number_if_possible() 382 COLLATOR_CONVERT_RETURN_FAILED( str ); in collator_convert_string_to_number_if_possible() 385 …if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval… in collator_convert_string_to_number_if_possible() 398 COLLATOR_CONVERT_RETURN_FAILED( str ); in collator_convert_string_to_number_if_possible() 417 zval* str = NULL; in collator_make_printable_zval() local [all …]
|
/PHP-5.5/ext/standard/tests/streams/ |
H A D | bug64166_2.phpt | 15 $str = ""; 16 while(($c = fread($fd, 1))!= "") $str .= $c; 17 var_dump($str); 26 $str = ""; 27 while(($c = fread($fd, 1))!= "") $str .= $c; 28 var_dump($str);
|
/PHP-5.5/ext/simplexml/tests/ |
H A D | bug38424.phpt | 10 $str = "abc & def" ; 13 $xml["a1"] = htmlspecialchars($str,ENT_NOQUOTES) ; 15 $xml["a2"] = htmlspecialchars($str,ENT_NOQUOTES) ; 18 $xml["a3"] = $str ; 20 $xml["a4"] = $str ;
|
/PHP-5.5/ext/standard/ |
H A D | quot_print.c | 54 PHPAPI unsigned char *php_quot_print_decode(const unsigned char *str, size_t length, size_t *ret_le… in php_quot_print_decode() argument 87 i = length, p1 = str; buf_size = length; in php_quot_print_decode() 100 i = length; p1 = str; p2 = retval; in php_quot_print_decode() 148 PHPAPI unsigned char *php_quot_print_encode(const unsigned char *str, size_t length, size_t *ret_le… in php_quot_print_encode() argument 158 if (((c = *str++) == '\015') && (*str == '\012') && length > 0) { in php_quot_print_encode() 160 *d++ = *str++; in php_quot_print_encode() 164 if (iscntrl (c) || (c == 0x7f) || (c & 0x80) || (c == '=') || ((c == ' ') && (*str == '\015'))) { in php_quot_print_encode() 265 char *str, *new_str; in PHP_FUNCTION() local 269 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) != SUCCESS) { in PHP_FUNCTION() 277 new_str = (char *)php_quot_print_encode((unsigned char *)str, (size_t)str_len, &new_str_len); in PHP_FUNCTION()
|