/PHP-8.2/ext/pdo_oci/ |
H A D | oci_driver.c | 205 if (H->server && H->attached) { in oci_handle_closer() 206 H->last_err = OCIServerDetach(H->server, H->err, OCI_DEFAULT); in oci_handle_closer() 223 if (H->charset && H->env) { in oci_handle_closer() 253 S->H = H; in oci_handle_preparer() 406 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_commit() 420 H->last_err = OCITransRollback(H->svc, H->err, 0); in oci_handle_rollback() 445 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_set_attribute() 688 H->last_err = OCIPing (H->svc, H->err, OCI_DEFAULT); in pdo_oci_check_liveness() 798 H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->server, 0, OCI_ATTR_SERVER, H->err); in pdo_oci_handle_factory() 835 H->last_err = OCISessionBegin(H->svc, H->err, H->session, OCI_CRED_RDBMS, OCI_DEFAULT); in pdo_oci_handle_factory() [all …]
|
/PHP-8.2/ext/oci8/tests/ |
H A D | bug43492.phpt | 75 A B C D E F G H I J 76 A B C D E F G H I J 77 A B C D E F G H I J 78 A B C D E F G H I J 79 A B C D E F G H I J 80 A B C D E F G H I J 81 A B C D E F G H I J 82 A B C D E F G H I J 83 A B C D E F G H I J 84 A B C D E F G H I J [all …]
|
H A D | bug43492_2.phpt | 66 A B C D E F G H I J 67 A B C D E F G H I J 68 A B C D E F G H I J 69 A B C D E F G H I J 70 A B C D E F G H I J 71 A B C D E F G H I J 72 A B C D E F G H I J 73 A B C D E F G H I J 74 A B C D E F G H I J 75 A B C D E F G H I J [all …]
|
/PHP-8.2/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-8.2/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() 487 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_dblib_handle_factory() 495 if (!H->login) { in pdo_dblib_handle_factory() 576 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-8.2/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_big5.phpt | 43 if ('���H�U���e\\\\���H�U���e' !== ($tmp = mysqli_real_escape_string($link, 44 '���H�U���e\\���H�U���e'))) 47 if ('���H�U���e\"���H�U���e' !== ($tmp = mysqli_real_escape_string($link, 48 '���H�U���e"���H�U���e'))) 51 if ("���H�U���e\'���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 52 "���H�U���e'���H�U���e"))) 55 if ("���H�U���e\\n���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 56 "���H�U���e\n���H�U���e"))) 59 if ("���H�U���e\\r���H�U���e" !== ($tmp = mysqli_real_escape_string($link, 60 "���H�U���e\r���H�U���e"))) [all …]
|
/PHP-8.2/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() 610 if (H->server) { 705 H->einfo.errcode = 0; 735 H->buffered = H->emulate_prepare = 1; [all …]
|
/PHP-8.2/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 213 if (H->lob_streams) { in pdo_pgsql_close_lob_streams() 225 if (H) { in pgsql_handle_closer() 226 if (H->lob_streams) { in pgsql_handle_closer() 232 if (H->server) { in pgsql_handle_closer() 233 PQfinish(H->server); in pgsql_handle_closer() 234 H->server = NULL; in pgsql_handle_closer() 256 S->H = H; in pgsql_handle_preparer() 277 emulate = H->disable_native_prepares || H->emulate_prepares; in pgsql_handle_preparer() 526 PQreset(H->server); in pdo_pgsql_check_liveness() 1298 H->attached = 1; in pdo_pgsql_handle_factory() [all …]
|
/PHP-8.2/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() 474 H = pecalloc(1, sizeof(*H), dbh->is_persistent); in pdo_odbc_handle_factory() 476 dbh->driver_data = H; in pdo_odbc_handle_factory() [all …]
|
/PHP-8.2/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() 563 H->funcs = func; in PHP_METHOD() 631 H->funcs = func; in PHP_METHOD() [all …]
|
/PHP-8.2/ext/pdo_firebird/ |
H A D | firebird_driver.c | 480 if (isc_commit_transaction(H->isc_status, &H->tr)) { in firebird_handle_closer() 484 if (isc_rollback_transaction(H->isc_status, &H->tr)) { in firebird_handle_closer() 490 if (isc_detach_database(H->isc_status, &H->db)) { in firebird_handle_closer() 494 if (H->date_format) { in firebird_handle_closer() 535 S->H = H; in firebird_handle_preparer() 650 if (dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { in firebird_handle_doer() 748 if (isc_start_transaction(H->isc_status, &H->tr, 1, &H->db, (unsigned short)(ptpb-tpb), tpb)) { in firebird_handle_begin() 761 if (isc_commit_transaction(H->isc_status, &H->tr)) { in firebird_handle_commit() 774 if (isc_rollback_transaction(H->isc_status, &H->tr)) { in firebird_handle_rollback() 806 if (isc_dsql_allocate_statement(H->isc_status, &H->db, s)) { in firebird_alloc_prepare_stmt() [all …]
|
H A D | firebird_statement.c | 116 pdo_firebird_db_handle *H = S->H; in firebird_stmt_execute() local 186 if (stmt->dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { in firebird_stmt_execute() 209 pdo_firebird_db_handle *H = S->H; in firebird_stmt_fetch() local 221 if (H->isc_status[0] && H->isc_status[1]) { in firebird_stmt_fetch() 302 pdo_firebird_db_handle *H = S->H; in firebird_fetch_blob() local 310 if (isc_open_blob(H->isc_status, &H->db, &H->tr, &blobh, blob_id)) { in firebird_fetch_blob() 480 fmt = S->H->date_format ? S->H->date_format : PDO_FB_DEF_DATE_FMT; in firebird_stmt_get_col() 484 fmt = S->H->time_format ? S->H->time_format : PDO_FB_DEF_TIME_FMT; in firebird_stmt_get_col() 491 fmt = S->H->timestamp_format ? S->H->timestamp_format : PDO_FB_DEF_TIMESTAMP_FMT; in firebird_stmt_get_col() 511 pdo_firebird_db_handle *H = S->H; in firebird_bind_blob() local [all …]
|
/PHP-8.2/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 | 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-8.2/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-8.2/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";
|