/PHP-8.1/ext/standard/tests/strings/ |
H A D | strval.phpt | 2 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 D | strval_error.phpt | 2 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 D | strval_variation2.phpt | 24 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 …]
|
H A D | strval_basic.phpt | 2 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 D | strval_variation1.phpt | 2 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 ***
|
/PHP-8.1/ext/date/tests/ |
H A D | bug21966.phpt | 7 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-8.1/ext/mysqli/tests/ |
H A D | ghsa-h35g-vwh6-m678-stmt-row-no-space.phpt | 19 $stmt = $conn->prepare("SELECT strval, strval FROM data"); 27 var_dump($row["strval"]); 45 [*] Sending - Stmt prepare data strval: 0c0000010001000000020000000000003200000203646566087068705f7… 47 [*] Sending - Malicious Stmt Response for data strval [Extract heap through buffer over-read]: 0100…
|
H A D | ghsa-h35g-vwh6-m678-query-len-overflow.phpt | 19 $sql = "SELECT strval, strval FROM data"; 25 var_dump($row['strval']); 42 [*] Sending - Malicious Query Response for data strval field [length overflow]: 0100000102320000020…
|
H A D | protocol_stmt_row_fetch_data.phpt | 20 $stmt = $conn->prepare("SELECT strval, $field FROM data"); 84 [*] Sending - Stmt prepare data strval: 0c0000010001000000020000000000003200000203646566087068705f7… 86 [*] Sending - Stmt execute data strval: 01000001023200000203646566087068705f74657374046461746104646…
|
H A D | protocol_query_row_fetch_data.phpt | 20 $sql = "SELECT strval, $field FROM data"; 69 [*] Sending - Query execute data strval: 01000001023200000203646566087068705f7465737404646174610464…
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-float.phpt | 19 $stmt = $conn->prepare("SELECT strval, fltval FROM data");
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-int.phpt | 19 $stmt = $conn->prepare("SELECT strval, intval FROM data");
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-time.phpt | 19 $stmt = $conn->prepare("SELECT strval, timval FROM data");
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-date.phpt | 19 $stmt = $conn->prepare("SELECT strval, datval FROM data");
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-datetime.phpt | 19 $stmt = $conn->prepare("SELECT strval, dtival FROM data");
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-double.phpt | 19 $stmt = $conn->prepare("SELECT strval, dblval FROM data");
|
/PHP-8.1/ext/standard/ |
H A D | type.c | 161 char *strval = Z_STRVAL_P(num); in PHP_FUNCTION() local 164 while (isspace(*strval) && strlen) { in PHP_FUNCTION() 165 strval++; in PHP_FUNCTION() 172 if (strval[0] == '-' || strval[0] == '+') { in PHP_FUNCTION() 176 if (strval[offset] == '0' && (strval[offset + 1] == 'b' || strval[offset + 1] == 'B')) { in PHP_FUNCTION() 183 tmpval[0] = strval[0]; in PHP_FUNCTION() 187 memcpy(tmpval + offset, strval + offset + 2, strlen - offset); in PHP_FUNCTION() 228 PHP_FUNCTION(strval) in PHP_FUNCTION() argument
|
/PHP-8.1/ext/intl/tests/ |
H A D | bug71020.phpt | 10 …yarray[substr(md5(microtime()),rand(0,26),9) . strval($x)]= substr(md5(microtime()),rand(0,26),9) …
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | strval.phpt | 2 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-8.1/Zend/tests/ |
H A D | bug61273.phpt | 12 echo strval("okey");
|
/PHP-8.1/ext/simplexml/tests/ |
H A D | bug42369.phpt | 12 md5(strval($x->x));
|
/PHP-8.1/ext/opcache/tests/opt/ |
H A D | sccp_025.phpt | 19 'viewtopic' => strval("phpBB/viewtopic.$phpEx"),
|
/PHP-8.1/Zend/ |
H A D | zend_constants.c | 193 ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, const char *strval,… in zend_register_stringl_constant() argument 197 ZVAL_STR(&c.value, zend_string_init_interned(strval, strlen, flags & CONST_PERSISTENT)); in zend_register_stringl_constant() 204 ZEND_API void zend_register_string_constant(const char *name, size_t name_len, const char *strval, … in zend_register_string_constant() argument 206 zend_register_stringl_constant(name, name_len, strval, strlen(strval), flags, module_number); in zend_register_string_constant()
|
H A D | zend_constants.h | 85 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-8.1/main/ |
H A D | php_variables.c | 33 PHPAPI void php_register_variable(const char *var, const char *strval, zval *track_vars_array) in php_register_variable() argument 35 php_register_variable_safe(var, strval, strlen(strval), track_vars_array); in php_register_variable() 39 PHPAPI void php_register_variable_safe(const char *var, const char *strval, size_t str_len, zval *t… in php_register_variable_safe() argument 42 assert(strval != NULL); in php_register_variable_safe() 44 ZVAL_STRINGL_FAST(&new_entry, strval, str_len); in php_register_variable_safe()
|