3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '2 <hr>'; if ($x == 2) { echo $x; } ?>

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.20.0060.00322.52
8.4.10.0100.01020.43
8.3.150.0130.00316.66
8.3.140.0030.01518.68
8.3.130.0070.00718.37
8.3.120.0040.01118.86
8.3.110.0080.00020.94
8.3.100.0000.00924.06
8.3.90.0030.00726.77
8.3.80.0030.00619.36
8.3.70.0130.00716.58
8.3.60.0140.00418.29
8.3.50.0160.00617.16
8.3.40.0070.00718.50
8.3.30.0070.00718.39
8.3.20.0000.00721.76
8.3.10.0040.00421.82
8.3.00.0040.00421.77
8.2.270.0160.00617.09
8.2.260.0100.00718.12
8.2.250.0040.00416.46
8.2.240.0040.00418.89
8.2.230.0190.00022.58
8.2.220.0050.00537.54
8.2.210.0100.00726.77
8.2.200.0030.00618.88
8.2.190.0130.00618.29
8.2.180.0040.01118.01
8.2.170.0130.00719.09
8.2.160.0090.00622.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00020.95
8.2.110.0090.00021.02
8.2.100.0000.01219.64
8.2.90.0080.00017.75
8.2.80.0080.00018.80
8.2.70.0040.00417.50
8.2.60.0060.00318.04
8.2.50.0000.01118.07
8.2.40.0050.00218.24
8.2.30.0040.00417.93
8.2.20.0000.00718.12
8.2.10.0000.00719.30
8.2.00.0040.00418.04
8.1.310.0040.00418.23
8.1.300.0080.00015.72
8.1.290.0030.00630.84
8.1.280.0130.00625.92
8.1.270.0000.00824.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00923.83
8.1.230.0030.00918.97
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0030.00518.56
8.1.160.0000.00718.73
8.1.150.0070.00018.82
8.1.140.0080.00018.94
8.1.130.0000.00717.43
8.1.120.0000.00717.31
8.1.110.0000.00717.36
8.1.100.0030.00617.44
8.1.90.0030.00517.40
8.1.80.0040.00417.45
8.1.70.0000.00717.44
8.1.60.0030.00617.46
8.1.50.0040.00417.50
8.1.40.0040.00417.38
8.1.30.0000.00717.57
8.1.20.0040.00417.57
8.1.10.0040.00417.34
8.1.00.0060.00317.38
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00818.36
8.0.270.0060.00317.15
8.0.260.0060.00316.81
8.0.250.0070.00317.00
8.0.240.0000.00716.86
8.0.230.0000.00716.83
8.0.220.0000.00616.82
8.0.210.0030.00316.88
8.0.200.0000.00716.91
8.0.190.0050.00316.95
8.0.180.0070.00016.91
8.0.170.0060.00316.81
8.0.160.0030.00716.84
8.0.150.0000.00716.77
8.0.140.0040.00416.71
8.0.130.0000.00613.29
8.0.120.0040.00416.88
8.0.110.0070.00016.88
8.0.100.0050.00316.88
8.0.90.0030.00316.82
8.0.80.0110.00516.86
8.0.70.0030.00516.91
8.0.60.0040.00416.75
8.0.50.0050.00316.77
8.0.30.0090.01016.96
8.0.20.0090.00917.08
8.0.10.0040.00417.07
8.0.00.0150.00816.65
7.4.330.0000.00516.76
7.4.320.0030.00316.54
7.4.300.0030.00316.44
7.4.290.0020.00516.49
7.4.280.0000.00916.50
7.4.270.0070.00016.55
7.4.260.0040.00416.58
7.4.250.0040.00416.37
7.4.240.0030.00316.52
7.4.230.0000.00716.69
7.4.220.0000.00716.62
7.4.210.0050.01116.54
7.4.200.0030.00316.53
7.4.160.0080.00816.41
7.4.130.0110.00716.56
7.4.120.0100.00716.54
7.4.110.0160.00016.46
7.4.100.0090.00916.34
7.4.90.0110.00716.47
7.4.80.0100.01019.39
7.4.70.0070.01416.60
7.4.60.0100.00616.47
7.4.50.0040.00716.54
7.4.40.0100.00616.51
7.4.00.0030.01014.87
7.3.330.0050.00013.11
7.3.320.0000.00512.90
7.3.310.0030.00316.21
7.3.300.0030.00316.18
7.3.290.0070.00016.20
7.3.280.0080.01116.16
7.3.260.0120.00616.38
7.3.240.0060.01116.35
7.3.230.0070.01316.56
7.3.210.0150.00916.25
7.3.200.0120.00616.43
7.3.190.0060.01016.41
7.3.180.0030.01216.43
7.3.170.0170.00316.52
7.3.160.0120.00616.36
7.3.120.0090.00914.50
7.3.110.0070.01014.66
7.3.100.0000.01614.73
7.3.90.0060.00314.95
7.3.80.0060.00614.85
7.3.70.0000.01514.73
7.3.60.0080.00014.65
7.3.50.0040.00414.64
7.3.40.0020.00914.65
7.3.30.0100.00714.63
7.3.20.0080.00216.61
7.3.10.0040.00716.59
7.3.00.0050.00816.59
7.2.330.0030.01416.58
7.2.320.0100.01016.20
7.2.310.0090.00916.51
7.2.300.0070.01016.61
7.2.290.0150.01116.30
7.2.250.0030.01615.04
7.2.240.0130.00715.00
7.2.230.0030.01314.75
7.2.220.0110.00415.07
7.2.210.0030.00615.00
7.2.200.0090.00415.02
7.2.190.0000.01414.82
7.2.180.0090.00614.66
7.2.170.0070.00714.82
7.2.160.0070.00814.75
7.2.150.0000.01116.87
7.2.140.0060.00616.77
7.2.130.0040.01216.85
7.2.120.0060.00616.71
7.2.110.0040.00716.87
7.2.100.0110.00316.86
7.2.90.0060.00916.80
7.2.80.0070.00417.09
7.2.70.0080.00416.98
7.2.60.0190.00316.69
7.2.50.0070.01416.64
7.2.40.0230.00316.86
7.2.30.0070.01416.97
7.2.20.0030.00916.91
7.2.10.0110.00415.05
7.2.00.0070.00716.77
7.1.330.0140.00015.68
7.1.320.0000.00815.80
7.1.310.0140.00015.54
7.1.300.0080.00815.82
7.1.290.0090.00615.56
7.1.280.0050.00715.67
7.1.270.0080.00515.77
7.1.260.0100.00715.53
7.1.250.0110.00515.95

preferences:
52.73 ms | 403 KiB | 5 Q