3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<EOD code=876 and town=87 and geocode in(1,2,3) code=876 and town=878 and geocode in(1,2,3) code=876 and town="878" and geocode in(1,2,3) code=876 and town=8,43 and geocode in(1,2,3) code=876 and town='8,43' and geocode in(1,2,3) code=876 and town=-1 and geocode in(1,2,3) code=876 and town=N/A and geocode in(1,2,3) EOD; foreach(explode(PHP_EOL, $str) as $line){ echo explode(" ", $line)[2] . PHP_EOL; }

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.4.130.0060.00417.60
8.4.120.0160.00420.79
8.4.110.0120.00622.20
8.4.100.0100.00820.45
8.4.90.0120.00719.05
8.4.80.0130.00817.84
8.4.70.0050.00317.88
8.4.60.0040.00418.85
8.4.50.0150.00518.59
8.4.40.0140.00617.65
8.4.30.0150.00422.35
8.4.20.0170.00018.79
8.4.10.0090.00619.59
8.3.260.0150.00416.75
8.3.250.0110.00818.60
8.3.240.0120.00717.15
8.3.230.0110.00616.79
8.3.220.0080.00917.37
8.3.210.0090.01016.51
8.3.200.0070.00316.75
8.3.190.0030.00616.92
8.3.180.0120.00916.72
8.3.170.0070.01119.10
8.3.160.0140.00418.30
8.3.150.0000.00818.84
8.3.140.0150.00016.63
8.3.130.0130.00716.71
8.3.120.0080.00818.97
8.3.110.0030.00620.94
8.3.100.0100.00316.60
8.3.90.0140.00016.66
8.3.80.0030.00617.97
8.3.70.0180.00316.50
8.3.60.0030.01518.30
8.3.50.0060.00718.15
8.3.40.0090.00618.57
8.3.30.0060.00818.82
8.3.20.0040.00420.82
8.3.10.0070.00023.60
8.3.00.0080.00022.43
8.2.290.0090.01020.59
8.2.280.0110.00718.57
8.2.270.0120.00617.29
8.2.260.0130.00316.34
8.2.250.0050.00317.02
8.2.240.0030.00616.55
8.2.230.0060.00322.58
8.2.220.0100.00024.06
8.2.210.0060.01226.77
8.2.200.0040.00416.50
8.2.190.0150.00016.63
8.2.180.0040.01518.48
8.2.170.0090.00619.09
8.2.160.0170.00022.96
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00421.11
8.2.120.0000.00826.35
8.2.110.0030.00719.13
8.2.100.0060.00617.84
8.2.90.0000.00817.75
8.2.80.0000.00817.97
8.2.70.0000.00818.03
8.2.60.0040.00418.22
8.2.50.0000.00818.10
8.2.40.0000.00819.43
8.2.30.0080.00319.37
8.2.20.0000.00718.05
8.2.10.0000.00719.25
8.2.00.0000.00818.07
8.1.330.0150.00421.76
8.1.320.0140.00616.08
8.1.310.0040.00416.75
8.1.300.0130.00317.93
8.1.290.0090.00018.88
8.1.280.0130.01025.92
8.1.270.0060.01023.66
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00322.14
8.1.230.0090.00318.95
8.1.220.0000.00817.77
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0040.00418.66
8.1.160.0040.00418.82
8.1.150.0000.00718.82
8.1.140.0000.00720.28
8.1.130.0080.00020.28
8.1.120.0070.00017.48
8.1.110.0000.00717.45
8.1.100.0030.00717.38
8.1.90.0040.00417.50
8.1.80.0000.00717.45
8.1.70.0070.00017.46
8.1.60.0030.00617.59
8.1.50.0000.00817.56
8.1.40.0000.00917.51
8.1.30.0030.00517.52
8.1.20.0030.00617.69
8.1.10.0030.00617.46
8.1.00.0000.00817.45
8.0.300.0000.00720.12
8.0.290.0080.00016.63
8.0.280.0050.00318.34
8.0.270.0080.00017.18
8.0.260.0070.00021.86
8.0.250.0030.00717.02
8.0.240.0040.00417.04
8.0.230.0030.00317.04
8.0.220.0050.00316.94
8.0.210.0070.00016.97
8.0.200.0030.00317.02
8.0.190.0040.00417.04
8.0.180.0040.00416.94
8.0.170.0080.00017.00
8.0.160.0040.00416.93
8.0.150.0060.00316.86
8.0.140.0000.00916.93
8.0.130.0030.00313.40
8.0.120.0050.00216.95
8.0.110.0050.00316.86
8.0.100.0070.00016.92
8.0.90.0000.00717.00
8.0.80.0090.00617.00
8.0.70.0040.00416.95
8.0.60.0050.00217.01
8.0.50.0020.00516.98
8.0.30.0130.00417.02
8.0.20.0080.01417.19
8.0.10.0030.00517.14
8.0.00.0100.01116.71
7.4.330.0060.00015.55
7.4.320.0030.00316.53
7.4.300.0060.00016.60
7.4.290.0030.00316.51
7.4.280.0060.00316.50
7.4.270.0030.00316.62
7.4.260.0030.00316.60
7.4.250.0000.00716.47
7.4.240.0030.00416.46
7.4.230.0030.00316.63
7.4.220.0000.00816.44
7.4.210.0080.00816.58
7.4.200.0050.00316.33
7.4.160.0100.00816.60
7.4.140.0120.00917.86
7.4.130.0150.00416.71
7.4.120.0130.00916.66
7.4.110.0100.00716.65
7.4.100.0070.01016.48
7.4.90.0180.00716.35
7.4.80.0120.00919.39
7.4.70.0080.00816.53
7.4.60.0080.00816.51
7.4.50.0060.01116.29
7.4.40.0120.00916.40
7.4.00.0040.01114.91
7.3.330.0000.00513.18
7.3.320.0030.00313.25
7.3.310.0040.00416.33
7.3.300.0000.00716.39
7.3.290.0030.00316.20
7.3.280.0100.00716.37
7.3.260.0140.00516.42
7.3.240.0110.01016.45
7.3.230.0080.00816.35
7.3.210.0150.00616.31
7.3.200.0120.00416.63
7.3.190.0060.01216.48
7.3.180.0070.00916.39
7.3.170.0070.01116.28
7.3.160.0170.00016.40
7.3.30.0090.00314.69
7.3.20.0360.01314.79
7.3.10.0620.00714.66
7.3.00.0400.00914.89
7.2.330.0060.01216.68
7.2.320.0060.01116.79
7.2.310.0060.01516.39
7.2.300.0040.01516.73
7.2.290.0100.00716.71
7.2.160.0060.00614.80
7.2.150.0360.00714.90
7.2.140.0540.00714.93
7.2.130.0600.01014.88
7.2.120.0420.00715.12
7.2.110.0560.00415.00
7.2.100.0490.00915.05
7.2.90.0440.00615.14
7.2.80.0510.00615.05
7.2.70.0480.00714.96
7.2.60.0410.01414.92
7.2.50.0610.01615.14
7.2.40.0430.00615.15
7.2.30.0440.00615.21
7.2.20.0560.00315.08
7.2.10.0600.00715.04
7.2.00.1750.00014.92
7.1.270.0480.00713.81
7.1.260.0530.00413.88
7.1.250.0490.00313.77

preferences:
152.23 ms | 403 KiB | 5 Q