Home
last modified time | relevance | path

Searched refs:strval (Results 1 – 25 of 28) sorted by path

12

/php-src/Zend/tests/
H A Dbug61273.phpt12 echo strval("okey");
/php-src/Zend/tests/zend_ini/
H A Dzend_ini_parse_quantity_overflow.phpt20 return $prefix . strval($digit+1);
32 'No overflow 004' => strval(PHP_INT_MAX),
33 'No overflow 005' => strval(PHP_INT_MIN),
36 'Subject overflow 001' => increment(strval(PHP_INT_MAX)),
37 'Subject overflow 002' => decrement(strval(PHP_INT_MIN)),
38 'Multiplier overflow 001' => strval(PHP_INT_MAX).'K',
39 'Multiplier overflow 002' => strval(PHP_INT_MIN).'K',
H A Dzend_ini_parse_uquantity_overflow.phpt12 'No overflow 004' => strval(PHP_INT_MAX),
20 'Subject overflow 003' => strval(PHP_INT_MIN),
24 'Multiplier overflow 001' => strval(PHP_INT_MAX).'K',
/php-src/Zend/
H A Dzend_constants.c161 ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, const char *strval,… in zend_register_stringl_constant() argument
165 ZVAL_STR(&c.value, zend_string_init_interned(strval, strlen, flags & CONST_PERSISTENT)); in zend_register_stringl_constant()
172 ZEND_API void zend_register_string_constant(const char *name, size_t name_len, const char *strval, … in zend_register_string_constant() argument
174 zend_register_stringl_constant(name, name_len, strval, strlen(strval), flags, module_number); in zend_register_string_constant()
H A Dzend_constants.h85 ZEND_API void zend_register_string_constant(const char *name, size_t name_len, const char *strval, …
86 ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, const char *strval,…
/php-src/ext/date/tests/
H A Dbug21966.phpt7 echo '27/3/04 = ' . strval(mktime(0,0,0,3,27,2004)) . "\n"; // 1080345600
8 echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . "\n"; // -3662 - should be 108043200
9 echo '28/3/04 = ' . strval(mktime(2,0,0,3,28,2004)) . "\n"; // 1080435600
10 echo '29/3/04 = ' . strval(mktime(0,0,0,3,29,2004)) . "\n"; // 1080514800
11 echo '30/3/04 = ' . strval(mktime(0,0,0,3,30,2004)) . "\n"; // 1080601200
/php-src/ext/intl/converter/
H A Dconverter.c178 const char *strval = Z_STRVAL_P(val); in php_converter_append_toUnicode_target() local
183 U8_NEXT(strval, i, strlen, c); in php_converter_append_toUnicode_target()
/php-src/ext/intl/tests/
H A Dbug71020.phpt10 …yarray[substr(md5(microtime()),rand(0,26),9) . strval($x)]= substr(md5(microtime()),rand(0,26),9) …
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result.phpt205 $tmp = strval('-99999999.99');
208 $tmp = strval('99999999.99');
211 $tmp = strval('-99999999.99');
214 $tmp = strval('99999999.99');
H A Dmysqli_stmt_get_result_types.phpt165 $tmp = strval('-99999999.99');
168 $tmp = strval('99999999.99');
171 $tmp = strval('-99999999.99');
174 $tmp = strval('99999999.99');
/php-src/ext/opcache/tests/opt/
H A Dsccp_025.phpt19 'viewtopic' => strval("phpBB/viewtopic.$phpEx"),
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_local_infile_directory_allowed.phpt56 $actual_value = trim(strval($ret[$offset][$key]));
H A Dpdo_mysql_local_infile_overrides_local_infile_directory.phpt56 $actual_value = trim(strval($ret[$offset][$key]));
/php-src/ext/simplexml/
H A Dsimplexml.c1346 xmlChar *strval; in PHP_METHOD() local
1386 …xmlDocDumpMemoryEnc((xmlDocPtr) sxe->document->ptr, &strval, &strval_len, (const char *) ((xmlDocP… in PHP_METHOD()
1387 if (!strval) { in PHP_METHOD()
1390 RETVAL_STRINGL((char *)strval, strval_len); in PHP_METHOD()
1392 xmlFree(strval); in PHP_METHOD()
/php-src/ext/simplexml/tests/
H A Dbug42369.phpt12 md5(strval($x->x));
/php-src/ext/standard/
H A Dbasic_functions.stub.php3619 function strval(mixed $value): string {}
H A Dbasic_functions_arginfo.h2874 ZEND_FUNCTION(strval);
/php-src/ext/standard/tests/general_functions/
H A Dstrval.phpt2 Test strval() function
94 /* loop to check that strval() recognizes different
99 var_dump( strval($scalar) );
102 echo "\n*** Testing strval() with non_scalar values ***\n";
133 strval() on objects, arrays, boolean and others */
137 var_dump( strval($value) );
267 *** Testing strval() with non_scalar values ***
/php-src/ext/standard/tests/strings/
H A Dbug54055.phpt2 Bug #54055: PHP crashes when executing strval when precision setting is very high
7 echo "$i: len=", strlen(strval(-1 * pow(2, -1074))), "\n";
H A Dlocale_independent_float_to_string.phpt21 echo strval($f) . "\n";
H A Dstrval.phpt2 strval() function
6 var_dump(strval($foo));
8 var_dump(strval(FOO));
9 var_dump(strval('foobar'));
10 var_dump(strval(1));
11 var_dump(strval(1.1));
12 var_dump(strval(true));
13 var_dump(strval(false));
14 var_dump(strval(array('foo')));
H A Dstrval_basic.phpt2 Test strval() function : basic functionality
5 echo "*** Testing strval() : basic variations ***\n";
36 // loop through each element of the array for strval
40 var_dump( strval($value) );
45 *** Testing strval() : basic variations ***
H A Dstrval_error.phpt2 Test strval() function : usage variations - error conditions
5 echo "*** Testing strval() : error conditions ***\n";
14 // Testing strval with a object which has no toString() method
15 echo "\n-- Testing strval() function with object which has not toString() method --\n";
17 var_dump( strval(new MyClass()) );
24 *** Testing strval() : error conditions ***
26 -- Testing strval() function with object which has not toString() method --
H A Dstrval_variation1.phpt2 Test strval() function : usage variations - Pass different data types as strval
5 echo "*** Testing strval() : usage variations ***\n";
79 // loop through each element of the array for strval
83 var_dump( strval($value) );
88 *** Testing strval() : usage variations ***
H A Dstrval_variation2.phpt24 echo bin2hex(strval($s0));
26 echo bin2hex(strval($s1));
28 echo bin2hex(strval($s2));
30 echo bin2hex(strval($s3));
32 echo bin2hex(strval($s4));
34 echo bin2hex(strval($s5));
36 echo bin2hex(strval($s6));
38 echo bin2hex(strval($s7));
40 echo bin2hex(strval($s8));
42 echo bin2hex(strval($s9));
[all …]

Completed in 49 milliseconds

12