3v4l.org

run code in 300+ PHP versions simultaneously
<?php strlen("UPDATE `customers` SET active = 1 WHERE `customer_id`=4;");

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.0140.00716.38
8.3.50.0110.00721.92
8.3.40.0100.01018.46
8.3.30.0070.00718.46
8.3.20.0080.00020.16
8.3.10.0040.00423.48
8.3.00.0040.00419.13
8.2.180.0100.01017.99
8.2.170.0100.00322.96
8.2.160.0130.00620.14
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00817.38
8.2.120.0050.00226.35
8.2.110.0030.00719.21
8.2.100.0060.00617.43
8.2.90.0000.00718.97
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0100.00017.80
8.2.50.0030.00618.07
8.2.40.0040.00419.46
8.2.30.0000.00720.60
8.2.20.0040.00417.54
8.2.10.0050.00217.87
8.2.00.0030.00517.84
8.1.280.0100.01025.92
8.1.270.0070.00022.14
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0040.00422.34
8.1.230.0090.00317.54
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0050.00317.11
8.1.180.0080.00018.10
8.1.170.0030.00518.58
8.1.160.0060.00321.93
8.1.150.0050.00318.76
8.1.140.0040.00419.45
8.1.130.0030.00317.59
8.1.120.0000.00717.33
8.1.110.0000.00717.36
8.1.100.0080.00017.22
8.1.90.0030.00417.21
8.1.80.0000.01017.36
8.1.70.0000.00717.21
8.1.60.0060.00317.45
8.1.50.0050.00317.41
8.1.40.0050.00217.44
8.1.30.0030.00517.49
8.1.20.0040.00417.47
8.1.10.0000.00717.32
8.1.00.0040.00417.23
8.0.300.0000.00718.77
8.0.290.0000.00816.58
8.0.280.0030.00418.36
8.0.270.0000.00716.99
8.0.260.0070.00017.04
8.0.250.0000.00816.77
8.0.240.0000.00816.79
8.0.230.0000.00716.65
8.0.220.0000.00816.75
8.0.210.0030.00616.62
8.0.200.0030.00316.78
8.0.190.0080.00016.71
8.0.180.0070.00016.67
8.0.170.0000.00716.77
8.0.160.0040.00416.65
8.0.150.0030.00316.57
8.0.140.0070.00416.70
8.0.130.0000.00513.14
8.0.120.0070.00016.75
8.0.110.0070.00016.57
8.0.100.0040.00416.73
8.0.90.0070.00016.88
8.0.80.0100.00616.76
8.0.70.0040.00416.79
8.0.60.0040.00416.76
8.0.50.0070.00016.64
8.0.30.0140.00516.75
8.0.20.0120.00717.40
8.0.10.0000.00816.86
8.0.00.0110.00616.59
7.4.330.0000.00515.08
7.4.320.0000.00616.34
7.4.300.0000.00716.48
7.4.290.0000.00716.28
7.4.280.0000.00716.45
7.4.270.0000.00716.50
7.4.260.0070.00016.37
7.4.250.0000.00716.31
7.4.240.0040.00416.40
7.4.230.0070.00016.55
7.4.220.0190.00416.53
7.4.210.0100.00416.46
7.4.200.0000.00716.47
7.4.160.0150.00016.32
7.4.150.0150.00317.40
7.4.140.0100.00917.86
7.4.130.0130.01216.35
7.4.120.0120.01016.40
7.4.110.0110.00716.31
7.4.100.0100.01316.34
7.4.90.0100.00716.50
7.4.80.0100.00719.39
7.4.70.0040.01316.27
7.4.60.0060.01016.46
7.4.50.0050.00316.21
7.4.40.0000.01816.48
7.4.30.0100.01016.47
7.4.00.0060.00614.98
7.3.330.0000.00612.93
7.3.320.0000.00612.88
7.3.310.0040.00416.07
7.3.300.0070.00016.06
7.3.290.0060.00016.02
7.3.280.0040.01416.08
7.3.270.0080.00817.40
7.3.260.0170.00016.14
7.3.240.0110.00616.14
7.3.230.0120.00616.39
7.3.210.0050.01016.15
7.3.200.0090.01016.48
7.3.190.0030.01816.12
7.3.180.0100.00616.34
7.3.170.0100.00716.36
7.3.160.0000.01516.32
7.2.330.0170.00416.21
7.2.320.0150.00616.20
7.2.310.0130.00316.21
7.2.300.0070.01016.42
7.2.290.0120.00616.44
7.2.00.0060.00319.10
7.1.200.0090.00615.36
7.1.100.0050.00518.21
7.1.70.0030.00916.97
7.1.60.0140.01019.48
7.1.50.0070.01416.70
7.1.00.0070.07722.48
7.0.200.0360.00414.34
7.0.60.0030.04020.00
7.0.50.0030.08017.77
7.0.40.0030.04720.40
7.0.30.0300.06720.33
7.0.20.0200.04020.16
7.0.10.0100.06720.18
7.0.00.0030.07020.17
5.6.210.0070.07320.54
5.6.200.0070.03718.19
5.6.190.0030.04320.27
5.6.180.0170.04020.45
5.6.170.0300.08020.47
5.6.160.0100.06020.39
5.6.150.0070.08318.15
5.6.140.0070.07718.18
5.6.130.0070.07318.11
5.6.120.0070.06021.00
5.6.110.0030.09020.96
5.6.100.0070.08721.02
5.6.90.0030.09020.94
5.6.80.0070.08320.52
5.5.350.4000.04320.31
5.5.340.0000.06318.00
5.5.330.0030.08020.21
5.5.320.0570.04020.51
5.5.310.0270.08320.29
5.5.300.0100.08018.01
5.5.290.0000.08718.01
5.5.280.0070.04020.79
5.5.270.0000.08320.88
5.5.260.0000.05320.72
5.5.250.0100.05320.45
5.5.240.0300.04720.13

preferences:
60.28 ms | 401 KiB | 5 Q