/php-src/ext/opcache/tests/ |
H A D | compact_literals.phpt | 100 const H = "H"; 124 $h->H(); 128 $h->H(); 134 $h->H(); 137 $h->H(); 144 $h->H(); 148 $h->H(); 154 $h->H(); 157 $h->H(); 188 -->H [all …]
|
/php-src/ext/pdo_dblib/ |
H A D | dblib_driver.c | 79 if (H) { in dblib_handle_closer() 81 if (H->link) { in dblib_handle_closer() 83 H->link = NULL; in dblib_handle_closer() 85 if (H->login) { in dblib_handle_closer() 87 H->login = NULL; in dblib_handle_closer() 99 S->H = H; in dblib_handle_preparer() 114 dbsetuserdata(H->link, (BYTE*)&H->err); in dblib_handle_doer() 494 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_dblib_handle_factory() 502 if (!H->login) { in pdo_dblib_handle_factory() 583 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory() [all …]
|
H A D | dblib_stmt.c | 96 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_cursor_closer() local 99 dbcancel(H->link); in pdo_dblib_stmt_cursor_closer() 120 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_next_rowset_no_cancel() local 152 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_next_rowset() local 173 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_execute() local 202 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_fetch() local 204 ret = dbnextrow(H->link); in pdo_dblib_stmt_fetch() 221 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_describe() local 260 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_should_stringify_col() local 346 pdo_dblib_db_handle *H = S->H; in pdo_dblib_stmt_get_col() local [all …]
|
/php-src/ext/pdo_firebird/ |
H A D | firebird_driver.c | 538 if (H->isc_status[0] == 1 && H->isc_status[1] > 0) { in php_firebird_set_error() 588 if (H->tr) { in firebird_handle_closer() 597 if (isc_detach_database(H->isc_status, &H->db)) { in firebird_handle_closer() 647 S->H = H; in firebird_handle_preparer() 881 if (isc_start_transaction(H->isc_status, &H->tr, 1, &H->db, tpb_size, tpb)) { in php_firebird_begin_transaction() 925 if (isc_commit_retaining(H->isc_status, &H->tr)) { in php_firebird_commit_transaction() 930 if (isc_commit_transaction(H->isc_status, &H->tr)) { in php_firebird_commit_transaction() 966 if (isc_rollback_transaction(H->isc_status, &H->tr)) { in php_firebird_rollback_transaction() 1021 if (isc_dsql_prepare(H->isc_status, &H->tr, s, 0, new_sql, H->sql_dialect, out_sqlda)) { in php_firebird_alloc_prepare_stmt() 1275 return fb_ping(H->isc_status, &H->db) ? FAILURE : SUCCESS; in pdo_firebird_check_liveness() [all …]
|
H A D | firebird_statement.c | 96 fmt = S->H->time_format ? S->H->time_format : PDO_FB_DEF_TIME_FMT; in get_formatted_time_tz() 126 fmt = S->H->timestamp_format ? S->H->timestamp_format : PDO_FB_DEF_TIMESTAMP_FMT; in get_formatted_timestamp_tz() 187 pdo_firebird_db_handle *H = S->H; in pdo_firebird_stmt_execute() local 279 pdo_firebird_db_handle *H = S->H; in pdo_firebird_stmt_fetch() local 291 if (H->isc_status[0] && H->isc_status[1]) { in pdo_firebird_stmt_fetch() 370 pdo_firebird_db_handle *H = S->H; in php_firebird_fetch_blob() local 378 if (isc_open_blob(H->isc_status, &H->db, &H->tr, &blobh, blob_id)) { in php_firebird_fetch_blob() 548 fmt = S->H->date_format ? S->H->date_format : PDO_FB_DEF_DATE_FMT; in pdo_firebird_stmt_get_col() 552 fmt = S->H->time_format ? S->H->time_format : PDO_FB_DEF_TIME_FMT; in pdo_firebird_stmt_get_col() 589 pdo_firebird_db_handle *H = S->H; in php_firebird_bind_blob() local [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_big5.phpt | 36 if ('���H�U���e\\\\���H�U���e' !== ($tmp = mysqli_real_escape_string($link, 37 '���H�U���e\\���H�U���e'))) 40 if ('���H�U���e\"���H�U���e' !== ($tmp = mysqli_real_escape_string($link, 41 '���H�U���e"���H�U���e'))) 44 if ("���H�U���e\'���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 45 "���H�U���e'���H�U���e"))) 48 if ("���H�U���e\\n���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 49 "���H�U���e\n���H�U���e"))) 52 if ("���H�U���e\\r���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 53 "���H�U���e\r���H�U���e"))) [all …]
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 231 if (H->lob_streams) { in pdo_pgsql_close_lob_streams() 243 if (H) { in pgsql_handle_closer() 244 if (H->lob_streams) { in pgsql_handle_closer() 251 if (H->server) { in pgsql_handle_closer() 252 PQfinish(H->server); in pgsql_handle_closer() 253 H->server = NULL; in pgsql_handle_closer() 277 S->H = H; in pgsql_handle_preparer() 558 if (!PQconsumeInput(H->server) || PQstatus(H->server) == CONNECTION_BAD) { in pdo_pgsql_check_liveness() 559 PQreset(H->server); in pdo_pgsql_check_liveness() 1446 H->attached = 1; in pdo_pgsql_handle_factory() [all …]
|
/php-src/ext/pdo_mysql/ |
H A D | mysql_driver.c | 57 einfo = &H->einfo; in _pdo_mysql_error() 135 einfo = &H->einfo; in pdo_mysql_fetch_error_func() 154 if (H) { in mysql_handle_closer() 155 if (H->server) { in mysql_handle_closer() 157 H->server = NULL; in mysql_handle_closer() 159 if (H->einfo.errmsg) { in mysql_handle_closer() 182 S->H = H; in mysql_handle_preparer() 625 if (H->server) { 721 H->einfo.errcode = 0; 751 H->buffered = H->emulate_prepare = 1; [all …]
|
/php-src/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 100 while (H->funcs) { in pdo_sqlite_cleanup_callbacks() 101 func = H->funcs; in pdo_sqlite_cleanup_callbacks() 104 if (H->db) { in pdo_sqlite_cleanup_callbacks() 132 if (H->db) { in pdo_sqlite_cleanup_callbacks() 153 if (H) { in sqlite_handle_closer() 157 if (H->db) { in sqlite_handle_closer() 163 H->db = NULL; in sqlite_handle_closer() 182 S->H = H; in sqlite_handle_preparer() 291 return H->db && sqlite3_get_autocommit(H->db) == 0; in pdo_sqlite_in_transaction() 530 H->funcs = func; in pdo_sqlite_create_function_internal() [all …]
|
/php-src/ext/pdo_odbc/ |
H A D | odbc_driver.c | 80 } else if (H->dbc) { in pdo_odbc_error() 82 eh = H->dbc; in pdo_odbc_error() 85 eh = H->env; in pdo_odbc_error() 129 SQLDisconnect(H->dbc); in odbc_handle_closer() 131 H->dbc = NULL; in odbc_handle_closer() 134 H->env = NULL; in odbc_handle_closer() 148 S->H = H; in odbc_handle_preparer() 358 H->dbc, in odbc_handle_set_attr() 475 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_odbc_handle_factory() 477 dbh->driver_data = H; in pdo_odbc_handle_factory() [all …]
|
/php-src/ext/date/tests/ |
H A D | bug17988.phpt | 7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n"; 8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n"; 9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n"; 10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; 11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; 12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n"; 13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n"; 14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n"; 15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n"; 16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n"; [all …]
|
H A D | date_period_microseconds.phpt | 10 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (exclus… 12 echo $day->format('Y-m-d H:i:s.u') . "\n"; 15 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (inclus… 17 echo $day->format('Y-m-d H:i:s.u') . "\n"; 21 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (exclus… 23 echo $day->format('Y-m-d H:i:s.u') . "\n"; 27 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (inclus… 29 echo $day->format('Y-m-d H:i:s.u') . "\n";
|
H A D | bug32086.phpt | 13 echo date("Y-m-d H:i:s T\n", $g); 14 echo date("Y-m-d H:i:s T\n", $i); 15 echo date("Y-m-d H:i:s T\n", $j); 16 echo date("Y-m-d H:i:s T\n", $k); 17 echo date("Y-m-d H:i:s T\n", $l); 24 echo date("Y-m-d H:i:s T\n", $g); 25 echo date("Y-m-d H:i:s T\n", $i); 26 echo date("Y-m-d H:i:s T\n", $j); 27 echo date("Y-m-d H:i:s T\n", $k); 28 echo date("Y-m-d H:i:s T\n", $l);
|
H A D | date_time_fractions.phpt | 12 echo date_create( "2016-10-03 12:47:18.819313" )->format( "Y-m-d H:i:s.u" ), "\n\n"; 16 echo $dt->modify( "+1 day" )->format( "Y-m-d H:i:s.u" ), "\n"; 19 echo $dt->modify( "-3 months" )->format( "Y-m-d H:i:s.u" ), "\n"; 25 echo $dt->modify( "yesterday" )->format( "Y-m-d H:i:s.u" ), "\n"; 28 echo $dt->modify( "noon" )->format( "Y-m-d H:i:s.u" ), "\n"; 31 echo $dt->modify( "10 weekday" )->format( "Y-m-d H:i:s.u" ), "\n"; 45 echo $dt0->format( "Y-m-d H:i:s.u" ), "\n"; 46 echo $dt1->format( "Y-m-d H:i:s.u" ), "\n"; 47 echo $dt2->format( "Y-m-d H:i:s.u" ), "\n"; 48 echo $dt3->format( "Y-m-d H:i:s.u" ), "\n"; [all …]
|
H A D | bug30532.phpt | 8 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +1 hour'))."\n"; 9 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +2 hours'))."\n"; 10 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 EDT +3 hours'))."\n"; 14 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +1 hour'))."\n"; 15 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +2 hours'))."\n"; 16 echo date('Y-m-d H:i:s T', strtotime('2004-10-31 +3 hours'))."\n";
|
H A D | bug33414-1.phpt | 10 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 18 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 26 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 34 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 43 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 51 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 59 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 67 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 75 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 83 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; [all …]
|
H A D | bug80610.phpt | 5 $expectEaster = date_create_from_format('Y-m-d H:i:s', '2020-04-12 12:00:00', new DateTimeZone('Eur… 9 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n" ); 11 $expectEaster = date_create_from_format('Y-m-d H:i:s', '2020-04-12 12:00:00', new DateTimeZone('Eur… 15 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n"); 17 $expectEaster = date_create_from_format('Y-m-d H:i:s', '2020-04-12 12:00:00', new DateTimeZone('Eur… 21 echo('easter '.$expectEaster->format('Y-m-d H:i:s')."\n");
|
H A D | strtotime_variation_scottish.phpt | 6 var_dump(date('H:i:s', strtotime('back of 7'))); 7 var_dump(date('H:i:s', strtotime('front of 7'))); 8 var_dump(date('H:i:s', strtotime('back of 19'))); 9 var_dump(date('H:i:s', strtotime('front of 19')));
|
H A D | bug33414-2.phpt | 8 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 10 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n"; 16 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 18 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n"; 24 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 32 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 40 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 48 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 56 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 64 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; [all …]
|
H A D | date_modify-1.phpt | 7 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 9 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 13 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 15 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 18 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 20 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
|
/php-src/ext/mbstring/tests/ |
H A D | mb_convert_encoding_stateful.phpt | 11 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b24402121"), "UTF-8", "ISO-2022-JP")), "\n"; 12 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b24422121"), "UTF-8", "ISO-2022-JP")), "\n"; 13 echo bin2hex(mb_convert_encoding(pack("H*", "1b28421b284261626364"), "UTF-8", "ISO-2022-JP")), "\n"; 14 echo bin2hex(mb_convert_encoding(pack("H*", "1b284a1b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n"; 15 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b284261626364"), "UTF-8", "ISO-2022-JP")), "\n"; 16 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n"; 17 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b284261626364"), "UTF-8", "ISO-2022-JP")), "\n"; 18 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n"; 20 echo bin2hex(mb_convert_encoding(pack("H*", "1b2429430e0f61626364"), "UTF-8", "ISO-2022-KR")), "\n"; 22 echo bin2hex(mb_convert_encoding(pack("H*", "7e7b7e7d61626364"), "UTF-8", "HZ")), "\n";
|
H A D | mb_str_split_utf8_utf16.phpt | 13 $utf8 = pack("H*", "313233f09280a9"); 16 $utf8_bad = pack("H*", "313233f092"); 19 $utf16_first_be = pack("H*", "d800dc00"); 20 $utf16_first_le = pack("H*", "00d800dc"); 22 $utf16_last_be = pack("H*", "dbffdfff"); 23 $utf16_last_le = pack("H*", "ffdbffdf"); 37 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 43 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 49 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 55 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | 005_basic.phpt | 7 print( @date('Y:M:D:H:i:s', fileatime(__FILE__)) )."\n"; 8 print( @date('Y:M:D:H:i:s', filemtime(__FILE__)) )."\n"; 9 print( @date('Y:M:D:H:i:s', filectime(__FILE__)) )."\n"; 10 print( @date('Y:M:D:H:i:s', touch(__DIR__."/005_basic.tmp")) )."\n"; 13 print( @date('Y:M:D:H:i:s', fileatime(".")) )."\n"; 14 print( @date('Y:M:D:H:i:s', filemtime(".")) )."\n"; 15 print( @date('Y:M:D:H:i:s', filectime(".")) )."\n"; 16 print( @date('Y:M:D:H:i:s', touch(__DIR__."/005_basic")) )."\n";
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller9.phar | 7 �a.phps��H 8 �k+�a.jpg��H��b��a.php��Hl�`�fronk.gronk��…
|
/php-src/ext/phar/tests/files/ |
H A D | frontcontroller9.phar | 7 �a.phps��H 8 �k+�a.jpg��H��b��a.php��Hl�`�fronk.gronk��…
|