3v4l.org

run code in 300+ PHP versions simultaneously
<?php $st = "insert into query (date_time, userid, user_traits, query_sql, status, description, is_scheduled_row) values ('2016-01-06 02:39:01', '307', '0,3598,1937,13891,37746,22082,2596,2431,12850,3917,1234784,44712,14638,14418,12850,2631,25003,11428,27450,2592,23593,11441,2826,36330,32219,32351,20720,13997,2594,2467,15687', 'Select * from gl_base_schema.item where national_status_cd = 'A'', 'in queue', ' (Scheduled Query #413) Pull all items where National Status Code is 'A'', 1)"; echo str_replace("'","''",st); ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0100.01016.88
8.3.50.0100.01021.25
8.3.40.0070.00718.84
8.3.30.0150.00018.70
8.3.20.0000.00920.16
8.3.10.0070.00021.63
8.3.00.0050.00321.66
8.2.180.0110.00418.39
8.2.170.0070.01322.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00421.17
8.2.120.0050.00226.35
8.2.110.0090.00019.21
8.2.100.0100.00318.05
8.2.90.0050.00319.11
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0070.00017.80
8.2.50.0000.00918.09
8.2.40.0070.00022.32
8.2.30.0070.00019.44
8.2.20.0000.00817.74
8.2.10.0040.00418.11
8.2.00.0040.00418.11
8.1.280.0100.01025.92
8.1.270.0080.00023.83
8.1.260.0000.00728.09
8.1.250.0070.00028.09
8.1.240.0030.00622.42
8.1.230.0040.00817.83
8.1.220.0040.00417.79
8.1.210.0000.00918.77
8.1.200.0030.00917.13
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0060.00318.64
8.1.160.0000.00720.82
8.1.150.0000.00718.92
8.1.140.0080.00019.61
8.1.130.0000.00717.66
8.1.120.0000.00717.45
8.1.110.0000.00717.40
8.1.100.0000.00717.40
8.1.90.0070.00017.43
8.1.80.0000.00717.40
8.1.70.0000.00817.34
8.1.60.0120.00017.52
8.1.50.0030.00517.54
8.1.40.0030.00717.48
8.1.30.0000.00817.61
8.1.20.0000.00717.61
8.1.10.0000.00717.57
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0070.00016.88
8.0.280.0030.00318.47
8.0.270.0030.00317.16
8.0.260.0030.00317.20
8.0.250.0070.00017.00
8.0.240.0080.00016.99
8.0.230.0070.00017.02
8.0.220.0080.00016.84
8.0.210.0030.00316.94
8.0.200.0040.00417.02
8.0.190.0050.00217.04
8.0.180.0040.00416.96
8.0.170.0040.00416.88
8.0.160.0030.00316.91
8.0.150.0040.00416.80
8.0.140.0040.00416.78
8.0.130.0030.00313.41
8.0.120.0040.00416.81
8.0.110.0000.00816.95
8.0.100.0000.00716.73
8.0.90.0030.00616.82
8.0.80.0070.01116.84
8.0.70.0030.00516.98
8.0.60.0000.00816.93
8.0.50.0040.00416.76
8.0.30.0070.01217.05
8.0.20.0090.01017.40
8.0.10.0030.00516.86
8.0.00.0100.00916.84
7.4.330.0000.00516.83
7.4.320.0030.00316.57
7.4.300.0050.00316.54
7.4.290.0070.00016.40
7.4.280.0050.00316.58
7.4.270.0000.00716.49
7.4.260.0030.00616.43
7.4.250.0000.00716.51
7.4.240.0000.00716.58
7.4.230.0000.00716.50
7.4.220.0100.01716.42
7.4.210.0090.00616.63
7.4.200.0040.00416.69
7.4.160.0100.00616.46
7.4.150.0130.00617.40
7.4.140.0070.01117.86
7.4.130.0060.01116.46
7.4.120.0060.01116.52
7.4.110.0040.01416.38
7.4.100.0120.00616.27
7.4.90.0150.00616.39
7.4.80.0100.00719.39
7.4.70.0060.01016.50
7.4.60.0090.00616.39
7.4.50.0070.01116.63
7.4.40.0150.00416.28
7.4.30.0160.00616.32
7.4.00.0070.01015.03
7.3.330.0000.00612.99
7.3.320.0050.00013.18
7.3.310.0040.00416.13
7.3.300.0030.00316.23
7.3.290.0100.00716.18
7.3.280.0080.00716.22
7.3.270.0130.00317.40
7.3.260.0130.00316.37
7.3.250.0110.00816.35
7.3.240.0100.00716.48
7.3.230.0090.00916.39
7.3.210.0040.01316.22
7.3.200.0090.00919.39
7.3.190.0090.00916.48
7.3.180.0090.01216.15
7.3.170.0060.01616.37
7.3.160.0120.00816.44
7.3.120.0050.01214.69
7.3.110.0050.00914.78
7.3.100.0080.00714.75
7.3.90.0070.00314.56
7.3.80.0030.00914.75
7.3.70.0090.00514.57
7.3.60.0060.00514.73
7.3.50.0110.00414.84
7.3.40.0070.00614.55
7.3.30.0060.00414.59
7.3.20.0100.00416.69
7.3.10.0060.00716.52
7.3.00.0030.00916.57
7.2.330.0070.01116.36
7.2.320.0120.00616.59
7.2.310.0140.00316.34
7.2.300.0080.00816.52
7.2.290.0090.00616.59
7.2.250.0020.01514.98
7.2.240.0050.01514.67
7.2.230.0080.00714.96
7.2.220.0030.00614.89
7.2.210.0070.00814.72
7.2.200.0030.01214.96
7.2.190.0030.01014.86
7.2.180.0080.00614.61
7.2.170.0050.01114.72
7.2.60.0060.01016.55
7.2.00.0040.00819.38
7.1.330.0070.00715.77
7.1.320.0050.00815.68
7.1.310.0060.00815.60
7.1.300.0000.01015.52
7.1.290.0030.00815.55
7.1.280.0050.00915.48
7.1.270.0070.00815.69
7.1.260.0060.00815.66
7.1.200.0060.00615.57
7.1.100.0960.01016.19
7.1.70.0000.00817.04
7.1.60.0040.01819.40
7.1.50.0030.01716.86
7.1.00.0030.07722.34
7.0.200.0030.00616.75
7.0.60.0270.03719.90
7.0.50.0100.08017.87
7.0.40.0100.08319.98
7.0.30.0300.05720.13
7.0.20.0330.07720.13
7.0.10.0200.07320.21
7.0.00.0030.04020.16
5.6.280.0070.05720.97
5.6.210.0100.08320.50
5.6.200.0030.06018.17
5.6.190.0070.04020.61
5.6.180.0000.06020.45
5.6.170.0200.04720.38
5.6.160.0070.08720.54
5.6.150.0100.05018.11
5.6.140.0070.03718.16
5.6.130.0070.07018.15
5.6.120.0130.07720.98
5.6.110.0170.06320.98
5.6.100.0030.07021.00
5.6.90.0030.06721.08
5.6.80.0070.04720.39
5.5.350.0230.05020.43
5.5.340.0000.04717.90
5.5.330.0070.06720.40
5.5.320.0330.07020.13
5.5.310.0230.03720.25
5.5.300.0130.06018.01
5.5.290.0030.04017.91
5.5.280.0130.08020.97
5.5.270.0070.09020.65
5.5.260.0100.08320.75
5.5.250.0100.07020.68
5.5.240.0270.07320.25

preferences:
52.32 ms | 401 KiB | 5 Q