Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
mysqli /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
1.82
KB
-rw-rw-r--
2022-10-31 11:36
002.phpt
2.28
KB
-rw-rw-r--
2022-10-31 11:36
003.phpt
2.82
KB
-rw-rw-r--
2022-10-31 11:36
004.phpt
2.59
KB
-rw-rw-r--
2022-10-31 11:36
005.phpt
1.72
KB
-rw-rw-r--
2022-10-31 11:36
006.phpt
2.22
KB
-rw-rw-r--
2022-10-31 11:36
007.phpt
2.27
KB
-rw-rw-r--
2022-10-31 11:36
008.phpt
2.25
KB
-rw-rw-r--
2022-10-31 11:36
009.phpt
3.91
KB
-rw-rw-r--
2022-10-31 11:36
010.phpt
2.34
KB
-rw-rw-r--
2022-10-31 11:36
011.phpt
2.29
KB
-rw-rw-r--
2022-10-31 11:36
012.phpt
2.23
KB
-rw-rw-r--
2022-10-31 11:36
013.phpt
2.64
KB
-rw-rw-r--
2022-10-31 11:36
014.phpt
3.01
KB
-rw-rw-r--
2022-10-31 11:36
015.phpt
2.93
KB
-rw-rw-r--
2022-10-31 11:36
016.phpt
804
B
-rw-rw-r--
2022-10-31 11:36
017.phpt
929
B
-rw-rw-r--
2022-10-31 11:36
018.phpt
763
B
-rw-rw-r--
2022-10-31 11:36
019.phpt
2.61
KB
-rw-rw-r--
2022-10-31 11:36
020.phpt
2.32
KB
-rw-rw-r--
2022-10-31 11:36
021.phpt
1.55
KB
-rw-rw-r--
2022-10-31 11:36
022.phpt
1.62
KB
-rw-rw-r--
2022-10-31 11:36
023.phpt
1.9
KB
-rw-rw-r--
2022-10-31 11:36
024.phpt
1.93
KB
-rw-rw-r--
2022-10-31 11:36
025.phpt
2.06
KB
-rw-rw-r--
2022-10-31 11:36
026.phpt
1.9
KB
-rw-rw-r--
2022-10-31 11:36
027.phpt
441
B
-rw-rw-r--
2022-10-31 11:36
028.phpt
471
B
-rw-rw-r--
2022-10-31 11:36
029.phpt
1.09
KB
-rw-rw-r--
2022-10-31 11:36
030.phpt
588
B
-rw-rw-r--
2022-10-31 11:36
031.phpt
601
B
-rw-rw-r--
2022-10-31 11:36
032.phpt
1.11
KB
-rw-rw-r--
2022-10-31 11:36
033.phpt
510
B
-rw-rw-r--
2022-10-31 11:36
034.phpt
475
B
-rw-rw-r--
2022-10-31 11:36
035.phpt
465
B
-rw-rw-r--
2022-10-31 11:36
036.phpt
1.79
KB
-rw-rw-r--
2022-10-31 11:36
037.phpt
1.25
KB
-rw-rw-r--
2022-10-31 11:36
038.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
039.phpt
616
B
-rw-rw-r--
2022-10-31 11:36
040.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
041.phpt
966
B
-rw-rw-r--
2022-10-31 11:36
042.phpt
1.87
KB
-rw-rw-r--
2022-10-31 11:36
043.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
044.phpt
453
B
-rw-rw-r--
2022-10-31 11:36
045.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
046.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
047.phpt
4.39
KB
-rw-rw-r--
2022-10-31 11:36
048.phpt
1.81
KB
-rw-rw-r--
2022-10-31 11:36
049.phpt
671
B
-rw-rw-r--
2022-10-31 11:36
050.phpt
492
B
-rw-rw-r--
2022-10-31 11:36
051.phpt
535
B
-rw-rw-r--
2022-10-31 11:36
052.phpt
537
B
-rw-rw-r--
2022-10-31 11:36
053.phpt
455
B
-rw-rw-r--
2022-10-31 11:36
054.phpt
503
B
-rw-rw-r--
2022-10-31 11:36
055.phpt
484
B
-rw-rw-r--
2022-10-31 11:36
056.phpt
467
B
-rw-rw-r--
2022-10-31 11:36
057.phpt
2.93
KB
-rw-rw-r--
2022-10-31 11:36
058.phpt
1.54
KB
-rw-rw-r--
2022-10-31 11:36
059.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
060.phpt
1.74
KB
-rw-rw-r--
2022-10-31 11:36
061.phpt
2.71
KB
-rw-rw-r--
2022-10-31 11:36
062.phpt
517
B
-rw-rw-r--
2022-10-31 11:36
063.phpt
825
B
-rw-rw-r--
2022-10-31 11:36
064.phpt
449
B
-rw-rw-r--
2022-10-31 11:36
065.phpt
1.62
KB
-rw-rw-r--
2022-10-31 11:36
066.phpt
1.22
KB
-rw-rw-r--
2022-10-31 11:36
067.phpt
2.43
KB
-rw-rw-r--
2022-10-31 11:36
068.phpt
173
B
-rw-rw-r--
2022-10-31 11:36
069.phpt
765
B
-rw-rw-r--
2022-10-31 11:36
070.phpt
333
B
-rw-rw-r--
2022-10-31 11:36
071.phpt
2.16
KB
-rw-rw-r--
2022-10-31 11:36
072.phpt
600
B
-rw-rw-r--
2022-10-31 11:36
073.phpt
446
B
-rw-rw-r--
2022-10-31 11:36
074.phpt
622
B
-rw-rw-r--
2022-10-31 11:36
CONFLICTS
6
B
-rw-rw-r--
2022-10-31 11:36
bug28817.phpt
816
B
-rw-rw-r--
2022-10-31 11:36
bug29311.phpt
1.23
KB
-rw-rw-r--
2022-10-31 11:36
bug30967.phpt
514
B
-rw-rw-r--
2022-10-31 11:36
bug31141.phpt
453
B
-rw-rw-r--
2022-10-31 11:36
bug31668.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
bug32405.phpt
1.57
KB
-rw-rw-r--
2022-10-31 11:36
bug32490.phpt
293
B
-rw-rw-r--
2022-10-31 11:36
bug33090.phpt
532
B
-rw-rw-r--
2022-10-31 11:36
bug33263.phpt
869
B
-rw-rw-r--
2022-10-31 11:36
bug33491.phpt
766
B
-rw-rw-r--
2022-10-31 11:36
bug34785.phpt
1.09
KB
-rw-rw-r--
2022-10-31 11:36
bug34810.phpt
2.62
KB
-rw-rw-r--
2022-10-31 11:36
bug35103.phpt
2.23
KB
-rw-rw-r--
2022-10-31 11:36
bug35517.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
bug35759.phpt
1.54
KB
-rw-rw-r--
2022-10-31 11:36
bug36420.phpt
586
B
-rw-rw-r--
2022-10-31 11:36
bug36745.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
bug36802.phpt
787
B
-rw-rw-r--
2022-10-31 11:36
bug36949.phpt
1.59
KB
-rw-rw-r--
2022-10-31 11:36
bug37090.phpt
862
B
-rw-rw-r--
2022-10-31 11:36
bug38003.phpt
538
B
-rw-rw-r--
2022-10-31 11:36
bug38710.phpt
627
B
-rw-rw-r--
2022-10-31 11:36
bug39457.phpt
420
B
-rw-rw-r--
2022-10-31 11:36
bug42378.phpt
6.55
KB
-rw-rw-r--
2022-10-31 11:36
bug42548.phpt
1.96
KB
-rw-rw-r--
2022-10-31 11:36
bug44897.phpt
2.87
KB
-rw-rw-r--
2022-10-31 11:36
bug45019.phpt
1.88
KB
-rw-rw-r--
2022-10-31 11:36
bug45289.phpt
1.1
KB
-rw-rw-r--
2022-10-31 11:36
bug46109.phpt
295
B
-rw-rw-r--
2022-10-31 11:36
bug46614.phpt
606
B
-rw-rw-r--
2022-10-31 11:36
bug47050.phpt
818
B
-rw-rw-r--
2022-10-31 11:36
bug48909.phpt
1.37
KB
-rw-rw-r--
2022-10-31 11:36
bug49027.phpt
1.6
KB
-rw-rw-r--
2022-10-31 11:36
bug49442.phpt
4.21
KB
-rw-rw-r--
2022-10-31 11:36
bug50772.phpt
816
B
-rw-rw-r--
2022-10-31 11:36
bug51605.phpt
1.16
KB
-rw-rw-r--
2022-10-31 11:36
bug51647.phpt
3.9
KB
-rw-rw-r--
2022-10-31 11:36
bug52082.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
bug52891.phpt
4.07
KB
-rw-rw-r--
2022-10-31 11:36
bug53503.phpt
1.98
KB
-rw-rw-r--
2022-10-31 11:36
bug54221.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
bug54674.phpt
769
B
-rw-rw-r--
2022-10-31 11:36
bug55283.phpt
2.33
KB
-rw-rw-r--
2022-10-31 11:36
bug55582.phpt
974
B
-rw-rw-r--
2022-10-31 11:36
bug55653.phpt
988
B
-rw-rw-r--
2022-10-31 11:36
bug62046.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
bug62885.phpt
591
B
-rw-rw-r--
2022-10-31 11:36
bug63398.phpt
917
B
-rw-rw-r--
2022-10-31 11:36
bug64726.phpt
668
B
-rw-rw-r--
2022-10-31 11:36
bug66043.phpt
617
B
-rw-rw-r--
2022-10-31 11:36
bug66124.phpt
2.04
KB
-rw-rw-r--
2022-10-31 11:36
bug66762.phpt
631
B
-rw-rw-r--
2022-10-31 11:36
bug67839.phpt
1.86
KB
-rw-rw-r--
2022-10-31 11:36
bug67983.phpt
834
B
-rw-rw-r--
2022-10-31 11:36
bug68077.phpt
2.53
KB
-rw-rw-r--
2022-10-31 11:36
bug69899.phpt
971
B
-rw-rw-r--
2022-10-31 11:36
bug70384.phpt
1.98
KB
-rw-rw-r--
2022-10-31 11:36
bug70949.phpt
1.44
KB
-rw-rw-r--
2022-10-31 11:36
bug71863.phpt
1.22
KB
-rw-rw-r--
2022-10-31 11:36
bug72489.phpt
1.77
KB
-rw-rw-r--
2022-10-31 11:36
bug72701.phpt
638
B
-rw-rw-r--
2022-10-31 11:36
bug73462.phpt
1.1
KB
-rw-rw-r--
2022-10-31 11:36
bug73800.phpt
733
B
-rw-rw-r--
2022-10-31 11:36
bug73949.phpt
486
B
-rw-rw-r--
2022-10-31 11:36
bug74021.phpt
693
B
-rw-rw-r--
2022-10-31 11:36
bug74547.phpt
658
B
-rw-rw-r--
2022-10-31 11:36
bug74595.phpt
480
B
-rw-rw-r--
2022-10-31 11:36
bug74737.phpt
359
B
-rw-rw-r--
2022-10-31 11:36
bug74779.phpt
1.09
KB
-rw-rw-r--
2022-10-31 11:36
bug74968.phpt
637
B
-rw-rw-r--
2022-10-31 11:36
bug75018.phpt
827
B
-rw-rw-r--
2022-10-31 11:36
bug75434.phpt
570
B
-rw-rw-r--
2022-10-31 11:36
bug75448.phpt
503
B
-rw-rw-r--
2022-10-31 11:36
bug76386.phpt
3.62
KB
-rw-rw-r--
2022-10-31 11:36
bug77597.phpt
612
B
-rw-rw-r--
2022-10-31 11:36
bug77935.phpt
759
B
-rw-rw-r--
2022-10-31 11:36
bug77956.phpt
2.19
KB
-rw-rw-r--
2022-10-31 11:36
bug79084.phpt
1.38
KB
-rw-rw-r--
2022-10-31 11:36
bug79084_collision.phpt
1.18
KB
-rw-rw-r--
2022-10-31 11:36
bug79375.phpt
5.32
KB
-rw-rw-r--
2022-10-31 11:36
bug80837.phpt
936
B
-rw-rw-r--
2022-10-31 11:36
bug_bits.phpt
2.39
KB
-rw-rw-r--
2022-10-31 11:36
bug_mysql_49406.phpt
3.56
KB
-rw-rw-r--
2022-10-31 11:36
clean_table.inc
470
B
-rw-rw-r--
2022-10-31 11:36
connect.inc
5.52
KB
-rw-rw-r--
2022-10-31 11:36
gracefull_fail_on_empty_result_set.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
local_infile_tools.inc
5.33
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_affected_rows.phpt
5.43
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_affected_rows_oo.phpt
4.32
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_auth_pam.phpt
4.27
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_autocommit.phpt
5.7
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_autocommit_oo.phpt
4.92
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_begin_transaction.phpt
4.84
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user.phpt
6.59
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_get_lock.phpt
4.12
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_insert_id.phpt
2.19
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_locks_temporary.phpt
3.63
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_new.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_old.phpt
4.71
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_oo.phpt
3.13
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_prepared_statements.phpt
986
B
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_rollback.phpt
2.23
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_change_user_set_names.phpt
6.13
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_character_set.phpt
3.88
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_character_set_name.phpt
3.05
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_character_set_name_oo.phpt
2.74
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_driver_interface.phpt
2.93
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_driver_reflection.phpt
1.74
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_interface.phpt
10.68
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_properties_no_conn.phpt
10.36
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_reflection.phpt
24.59
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_result_interface.phpt
6.46
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_result_reflection.phpt
6.67
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_stmt_interface.phpt
5.28
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_warning.phpt
3.61
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_class_mysqli_warning_reflection.phpt
2.06
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_close.phpt
1.15
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_close_oo.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_commit.phpt
2.7
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_commit_oo.phpt
3.54
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_connect.phpt
6.52
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_connect_attr.phpt
2.86
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_connect_errno.phpt
1.36
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_connect_error.phpt
1.26
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_connect_oo.phpt
5.58
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_connect_oo_defaults.phpt
5.32
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_connect_oo_warnings.phpt
1.65
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_connect_twice.phpt
3.26
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_constants.phpt
8.49
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_constants_categories.phpt
607
B
-rw-rw-r--
2022-10-31 11:36
mysqli_data_seek.phpt
2.43
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_data_seek_oo.phpt
2.77
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_debug.phpt
2.21
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_debug_append.phpt
3.4
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_debug_control_string.phpt
2.67
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_debug_ini.phpt
1.43
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_debug_mysqlnd_control_string.phpt
9.36
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_debug_mysqlnd_only.phpt
3.95
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_disable_reads_from_master.phpt
1.41
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_driver.phpt
4.26
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_driver_unclonable.phpt
399
B
-rw-rw-r--
2022-10-31 11:36
mysqli_dump_debug_info.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_dump_debug_info_oo.phpt
1.13
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_embedded_connect.phpt
935
B
-rw-rw-r--
2022-10-31 11:36
mysqli_enable_reads_from_master.phpt
1.36
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_errno.phpt
1.35
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_errno_oo.phpt
1.19
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_error.phpt
1.57
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_error_oo.phpt
1.41
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_error_unicode.phpt
1.35
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_expire_password.phpt
5.61
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_explain_metadata.phpt
5.97
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_all.phpt
16.87
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_all_oo.phpt
15.81
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_array.phpt
15.89
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_array_assoc.phpt
1013
B
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_array_large.phpt
5.81
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_array_many_rows.phpt
3.62
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_array_oo.phpt
14.82
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_assoc.phpt
2.34
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_assoc_bit.phpt
4.32
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_assoc_no_alias.phpt
3.2
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_assoc_no_alias_utf8.phpt
4.6
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_assoc_oo.phpt
2.05
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_assoc_zerofill.phpt
2.21
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_field.phpt
4.19
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_field_direct.phpt
1.97
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_field_direct_oo.phpt
2.38
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_field_flags.phpt
8.77
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_field_oo.phpt
3.12
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_field_types.phpt
4.94
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_fields.phpt
2.99
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_lengths.phpt
1.42
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_lengths_oo.phpt
995
B
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_object.phpt
5.7
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_object_no_constructor.phpt
1.84
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_object_no_object.phpt
583
B
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_object_oo.phpt
5.32
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fetch_row.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_field_count.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_field_seek.phpt
5.6
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_field_tell.phpt
2.28
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_fork.phpt
10.68
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_free_result.phpt
1.9
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_charset.phpt
4.75
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_client_info.phpt
407
B
-rw-rw-r--
2022-10-31 11:36
mysqli_get_client_stats.phpt
55.83
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_client_stats_implicit_free.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_client_stats_off.phpt
1.14
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_client_stats_ps.phpt
4.44
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_client_stats_skipped.phpt
1.67
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_client_version.phpt
340
B
-rw-rw-r--
2022-10-31 11:36
mysqli_get_connection_stats.phpt
2.51
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_connection_stats_off.phpt
1.61
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_host_info.phpt
1.09
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_get_proto_info.phpt
832
B
-rw-rw-r--
2022-10-31 11:36
mysqli_get_server_info.phpt
902
B
-rw-rw-r--
2022-10-31 11:36
mysqli_get_server_version.phpt
837
B
-rw-rw-r--
2022-10-31 11:36
mysqli_get_warnings.phpt
6.65
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_info.phpt
3.65
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_init.phpt
583
B
-rw-rw-r--
2022-10-31 11:36
mysqli_insert_id.phpt
5.42
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_insert_id_variation.phpt
3.04
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_insert_packet_overflow.phpt
4.23
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_kill.phpt
3.65
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_last_insert_id.phpt
7.26
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_local_infile_default_off.phpt
566
B
-rw-rw-r--
2022-10-31 11:36
mysqli_local_infile_set_on.phpt
583
B
-rw-rw-r--
2022-10-31 11:36
mysqli_max_links.phpt
2.43
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_more_results.phpt
2.33
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_multi_query.phpt
4.06
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_mysqlnd_read_timeout.phpt
895
B
-rw-rw-r--
2022-10-31 11:36
mysqli_mysqlnd_read_timeout_long.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_mysqlnd_read_timeout_zero.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_next_result.phpt
2.39
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_next_result_error.phpt
1.39
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_next_result_no_repeat_error.phpt
467
B
-rw-rw-r--
2022-10-31 11:36
mysqli_no_reconnect.phpt
4.87
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_num_fields.phpt
1.68
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_num_rows.phpt
2.83
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_open_bug74432.phpt
666
B
-rw-rw-r--
2022-10-31 11:36
mysqli_options.phpt
5.78
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_options_init_command.phpt
2.85
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_options_int_and_float_native.phpt
3.29
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_options_openbasedir.phpt
847
B
-rw-rw-r--
2022-10-31 11:36
mysqli_pam_sha256.phpt
3.51
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pam_sha256_public_key_ini.phpt
4.02
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pam_sha256_public_key_option.phpt
4.34
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pam_sha256_public_key_option_invalid.phpt
6.32
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pconn_conn_multiple.phpt
6.45
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pconn_disabled.phpt
2.45
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pconn_kill.phpt
3.87
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pconn_limits.phpt
3.52
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pconn_max_links.phpt
9.89
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pconn_reuse.phpt
3.86
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pconn_twice.phpt
2.58
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_pconnect.phpt
2.14
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_phpinfo.phpt
1.84
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_ping.phpt
1.15
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_poll.phpt
5.35
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_poll_kill.phpt
7.31
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_poll_mixing_insert_select.phpt
6.19
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_poll_reference.phpt
6.82
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_prepare.phpt
5.23
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_prepare_no_object.phpt
1.62
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_ps_select_union.phpt
9.34
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_query.phpt
5.02
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_query_iterators.phpt
3.14
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_query_stored_proc.phpt
7.11
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_query_unicode.phpt
4.2
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_connect.phpt
7.17
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_connect_compression_error.phpt
1.47
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_connect_pconn.phpt
5.67
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string.phpt
1.88
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string_big5.phpt
2.55
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string_eucjpms.phpt
2.71
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string_euckr.phpt
2.4
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string_gb2312.phpt
2.36
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string_gbk.phpt
2.45
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string_nobackslash.phpt
2.3
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string_sjis.phpt
1.62
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_escape_string_unicode.phpt
3.56
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_real_query.phpt
4.28
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_reap_async_query.phpt
3.23
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_reconnect.phpt
4.89
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_release_savepoint.phpt
3.16
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_report.phpt
13.95
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_report_new.phpt
1.43
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_report_wo_ps.phpt
4.92
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_result_invalid_mode.phpt
696
B
-rw-rw-r--
2022-10-31 11:36
mysqli_result_references.phpt
3.42
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_result_references_mysqlnd.phpt
2.83
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_result_unclonable.phpt
822
B
-rw-rw-r--
2022-10-31 11:36
mysqli_rollback.phpt
2.69
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_savepoint.phpt
2.61
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_select_db.phpt
4.24
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_send_query.phpt
1.63
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_set_charset.phpt
5.09
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_set_opt.phpt
2.28
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_sqlstate.phpt
1.06
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_ssl_set.phpt
2.04
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stat.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_affected_rows.phpt
10.22
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_attr_get.phpt
2.1
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_attr_get_prefetch.phpt
700
B
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_attr_set.phpt
9.9
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_big_prepare.phpt
43.06
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_limits.phpt
4.26
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_param.phpt
19.98
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_param_call_user_func.phpt
13.13
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_param_check_param_no_change.phpt
2.21
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_param_many_columns.phpt
3.28
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_param_references.phpt
7.11
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_param_type_juggling.phpt
4.77
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_result.phpt
16.06
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_result_bit.phpt
6
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_result_format.phpt
12.67
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_result_references.phpt
9.13
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_bind_result_zerofill.phpt
2.82
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_close.phpt
3.07
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_data_seek.phpt
2.99
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_datatype_change.phpt
2.36
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_errno.phpt
2.08
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_error.phpt
2.11
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_execute.phpt
5.65
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_execute_stored_proc.phpt
8.63
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_execute_stored_proc_next_result.phpt
5.12
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_execute_stored_proc_out.phpt
2.92
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_fetch.phpt
3.41
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_fetch_bit.phpt
3.16
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_fetch_fields_win32_unicode.phpt
1.4
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_fetch_geom.phpt
5.92
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_field_count.phpt
3.83
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_free_result.phpt
2.78
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result.phpt
7.7
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result2.phpt
6.38
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result_bit.phpt
4.91
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result_field_count.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result_geom.phpt
6.05
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result_metadata.phpt
9.42
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result_metadata_fetch_field.phpt
3.89
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result_non_select.phpt
3.04
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result_seek.phpt
4.65
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_result_types.phpt
13.12
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_get_warnings.phpt
3.88
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_init.phpt
1.55
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_insert_id.phpt
2.54
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_multires.phpt
2.82
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_num_rows.phpt
4.39
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_param_count.phpt
2.36
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_prepare.phpt
1.72
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_reset.phpt
3.89
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_result_metadata.phpt
4.18
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_result_metadata_sqltests.phpt
9.54
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_send_long_data.phpt
5.05
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_send_long_data_packet_size_libmysql.phpt
3.52
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_send_long_data_packet_size_mysqlnd.phpt
4.01
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_sqlstate.phpt
2.02
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_store_result.phpt
3.29
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_stmt_unclonable.phpt
825
B
-rw-rw-r--
2022-10-31 11:36
mysqli_store_result.phpt
2.02
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_store_result_buffered_c.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_store_result_copy.phpt
8.67
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_thread_id.phpt
1.12
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_thread_safe.phpt
293
B
-rw-rw-r--
2022-10-31 11:36
mysqli_unclonable.phpt
691
B
-rw-rw-r--
2022-10-31 11:36
mysqli_use_result.phpt
2.1
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_warning_count.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
mysqli_warning_unclonable.phpt
1.44
KB
-rw-rw-r--
2022-10-31 11:36
ps_cursor_multiple_result_sets.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
reflection_tools.inc
5.08
KB
-rw-rw-r--
2022-10-31 11:36
skipif.inc
93
B
-rw-rw-r--
2022-10-31 11:36
skipifconnectfailure.inc
351
B
-rw-rw-r--
2022-10-31 11:36
skipifemb.inc
130
B
-rw-rw-r--
2022-10-31 11:36
skipifnotemb.inc
128
B
-rw-rw-r--
2022-10-31 11:36
table.inc
1.03
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- mysqli_fetch_field() - flags/field->flags --SKIPIF-- <?php require_once('skipif.inc'); require_once('skipifemb.inc'); require_once('skipifconnectfailure.inc'); require_once('connect.inc'); if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error())); if (mysqli_get_server_version($link) < 50041) die("skip: Due to many MySQL Server differences, the test requires 5.0.41+"); mysqli_close($link); ?> --FILE-- <?php require_once("connect.inc"); /* TODO: mysqli.c needs to export a few more constants - see all the defined() calls! */ $flags = array( MYSQLI_NOT_NULL_FLAG => 'NOT_NULL', MYSQLI_PRI_KEY_FLAG => 'PRI_KEY', MYSQLI_UNIQUE_KEY_FLAG => 'UNIQUE_KEY', MYSQLI_MULTIPLE_KEY_FLAG => 'MULTIPLE_KEY', MYSQLI_BLOB_FLAG => 'BLOB', MYSQLI_UNSIGNED_FLAG => 'UNSIGNED', MYSQLI_ZEROFILL_FLAG => 'ZEROFILL', MYSQLI_AUTO_INCREMENT_FLAG => 'AUTO_INCREMENT', MYSQLI_TIMESTAMP_FLAG => 'TIMESTAMP', MYSQLI_SET_FLAG => 'SET', MYSQLI_NUM_FLAG => 'NUM', MYSQLI_PART_KEY_FLAG => 'PART_KEY', // MYSQLI_GROUP_FLAG => 'MYSQLI_GROUP_FLAG' - internal usage only (defined('MYSQLI_NO_DEFAULT_VALUE_FLAG') ? MYSQLI_NO_DEFAULT_VALUE_FLAG : 4096) => 'NO_DEFAULT_VALUE', (defined('MYSQLI_BINARY_FLAG') ? MYSQLI_BINARY_FLAG : 128) => 'BINARY', (defined('MYSQLI_ENUM_FLAG') ? MYSQLI_ENUM_FLAG : 256) => 'ENUM', // MYSQLI_BINCMP_FLAG ); // 5.1.24 / 6.0.4+ if (defined('MYSQLI_ON_UPDATE_NOW')) $flags[MYSQLI_ON_UPDATE_NOW] = 'ON_UPDATE_NOW'; else $flags[8192] = 'ON_UPDATE_NOW'; krsort($flags); $columns = array( 'INT DEFAULT NULL' => 'NUM', 'INT NOT NULL' => 'NOT_NULL NO_DEFAULT_VALUE NUM', 'INT NOT NULL DEFAULT 1' => 'NOT_NULL NUM', 'INT UNSIGNED DEFAULT NULL' => 'UNSIGNED NUM', 'INT UNSIGNED NOT NULL' => 'NOT_NULL UNSIGNED NO_DEFAULT_VALUE NUM', 'INT UNSIGNED NOT NULL DEFAULT 1' => 'NOT_NULL UNSIGNED NUM', 'INT UNSIGNED ZEROFILL DEFAULT NULL' => 'UNSIGNED ZEROFILL NUM', 'INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY' => 'NOT_NULL PRI_KEY UNSIGNED AUTO_INCREMENT NUM PART_KEY', 'CHAR(1) DEFAULT NULL' => '', 'CHAR(1) NOT NULL' => 'NOT_NULL NO_DEFAULT_VALUE', 'VARBINARY(127) DEFAULT NULL' => 'BINARY', 'BLOB' => 'BLOB BINARY', 'TINYBLOB' => 'BLOB BINARY', 'MEDIUMBLOB' => 'BLOB BINARY', 'LONGBLOB' => 'BLOB BINARY', 'TEXT' => 'BLOB', 'TINYTEXT' => 'BLOB', 'MEDIUMTEXT' => 'BLOB', 'LONGTEXT' => 'BLOB', 'SET("one", "two")' => 'SET', 'SET("one", "two") NOT NULL' => 'NOT_NULL SET NO_DEFAULT_VALUE', 'SET("one", "two") NOT NULL DEFAULT "one"' => 'NOT_NULL SET', 'ENUM("one", "two")' => 'ENUM', 'ENUM("one", "two") NOT NULL' => 'NOT_NULL ENUM NO_DEFAULT_VALUE', 'ENUM("one", "two") NOT NULL DEFAULT "one"' => 'NOT_NULL ENUM', 'TINYINT UNIQUE' => 'UNIQUE_KEY NUM PART_KEY', 'SMALLINT UNIQUE' => 'UNIQUE_KEY NUM PART_KEY', 'MEDIUMINT UNIQUE DEFAULT 1' => 'UNIQUE_KEY NUM PART_KEY', 'BIGINT UNSIGNED UNIQUE DEFAULT 100' => 'UNIQUE_KEY UNSIGNED NUM PART_KEY', 'BIT' => 'UNSIGNED', 'VARCHAR(2) NOT NULL PRIMARY KEY' => 'NOT_NULL PRI_KEY NO_DEFAULT_VALUE PART_KEY' ); function checkFlags($reported_flags, $expected_flags, $flags) { $found_flags = $unexpected_flags = ''; foreach ($flags as $code => $name) { if ($reported_flags >= $code) { $reported_flags -= $code; $found_flags .= $name . ' '; if (stristr($expected_flags, $name)) { $expected_flags = trim(str_ireplace($name, '', $expected_flags)); } else { $unexpected_flags .= $name . ' '; } } } return array($expected_flags, $unexpected_flags, $found_flags); } if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); foreach ($columns as $column_def => $expected_flags) { if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) { printf("[002] %s [%d] %s\n", $column_def, mysqli_errno($link), mysqli_error($link)); continue; } $create = sprintf('CREATE TABLE test(id INT, col1 %s)', $column_def); if (!mysqli_query($link, $create)) { // Server might not support it - skip continue; } if (!$res = mysqli_query($link, 'SELECT * FROM test')) { printf("[003] Can't select from table, %s [%d] %s\n", $column_def, mysqli_errno($link), mysqli_error($link)); continue; } $field = mysqli_fetch_field_direct($res, 1); if (!is_object($field)) { printf("[004] Fetching the meta data failed, %s [%d] %s\n", $column_def, mysqli_errno($link), mysqli_error($link)); continue; } if ($field->name != 'col1') { printf("[005] Field information seems wrong, %s [%d] %s\n", $column_def, mysqli_errno($link), mysqli_error($link)); continue; } /* TODO Unfortunately different server versions give you slightly different results.The test does not yet fully reflect all server changes/bugs etc. */ switch ($column_def) { case 'INT UNSIGNED NOT NULL': case 'INT NOT NULL': case 'CHAR(1) NOT NULL': case 'SET("one", "two") NOT NULL': case 'ENUM("one", "two") NOT NULL': $version = mysqli_get_server_version($link); if ($version < 50000) { // TODO - check exact version! $expected_flags = trim(str_replace('NO_DEFAULT_VALUE', '', $expected_flags)); } break; case 'BIT': $version = mysqli_get_server_version($link); if (($version <= 50114 && $version > 50100) || ($version == 50200)) { // TODO - check exact version! $expected_flags = trim(str_replace('UNSIGNED', '', $expected_flags)); } default: break; } list($missing_flags, $unexpected_flags, $flags_found) = checkFlags($field->flags, $expected_flags, $flags); if ($unexpected_flags) { printf("[006] Found unexpected flags '%s' for %s, found '%s' with MySQL %s'\n", $unexpected_flags, $column_def, $flags_found, mysqli_get_server_version($link)); } if ($missing_flags) { printf("[007] The flags '%s' have not been reported for %s, found '%s'\n", $missing_flags, $column_def, $flags_found); var_dump($create); var_dump(mysqli_get_server_version($link)); die($missing_flags); } mysqli_free_result($res); } if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) { printf("[008] %s [%d] %s\n", $column_def, mysqli_errno($link), mysqli_error($link)); } $column_def = array('col1 CHAR(1)', 'col2 CHAR(2)','INDEX idx_col1_col2(col1, col2)'); $expected_flags = array('col1' => 'MULTIPLE_KEY PART_KEY', 'col2' => 'PART_KEY'); $create = 'CREATE TABLE test(id INT, '; foreach ($column_def as $k => $v) { $create .= sprintf('%s, ', $v); } $create = sprintf('%s)', substr($create, 0, -2)); if (mysqli_query($link, $create)) { if (!$res = mysqli_query($link, 'SELECT * FROM test')) { printf("[009] Cannot run SELECT, [%d] %s\n", mysqli_errno($link), mysqli_error($link)); } // id column - skip it $field = mysqli_fetch_field($res); while ($field = mysqli_fetch_field($res)) { if (!isset($expected_flags[$field->name])) { printf("[010] Found unexpected field '%s'\n", $field->name); } list($missing_flags, $unexpected_flags, $flags_found) = checkFlags($field->flags, $expected_flags[$field->name], $flags); if ($unexpected_flags) printf("[011] Found unexpected flags '%s' for %s, found '%s'\n", $unexpected_flags, $field->name, $flags_found); if ($missing_flags) printf("[012] The flags '%s' have not been reported for %s, found '%s'\n", $missing_flags, $field->name, $flags_found); } } mysqli_close($link); print "done!"; ?> --CLEAN-- <?php require_once("clean_table.inc"); ?> --EXPECT-- done!