3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ❤ { public function __toString() { return '❤'; } } $love = new ❤(); echo $love;

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.0090.00918.87
8.4.10.0090.00019.24
8.3.150.0060.01316.92
8.3.140.0070.00716.56
8.3.130.0000.00918.66
8.3.120.0060.00319.01
8.3.110.0070.00320.94
8.3.100.0040.00424.06
8.3.90.0000.00826.77
8.3.80.0090.00016.36
8.3.70.0150.00716.58
8.3.60.0110.00718.43
8.3.50.0100.00316.21
8.3.40.0090.00618.63
8.3.30.0120.00618.42
8.3.20.0000.00724.18
8.3.10.0080.00024.66
8.3.00.0090.00026.16
8.2.270.0140.00416.99
8.2.260.0120.00616.64
8.2.250.0000.00918.33
8.2.240.0090.00017.21
8.2.230.0000.00922.58
8.2.220.0030.00637.54
8.2.210.0090.00926.77
8.2.200.0060.00316.38
8.2.190.0100.00716.58
8.2.180.0160.00325.92
8.2.170.0100.01019.02
8.2.160.0070.00722.96
8.2.150.0050.00325.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0100.00019.89
8.2.110.0100.00020.91
8.2.100.0040.00717.72
8.2.90.0030.00618.09
8.2.80.0050.00518.22
8.2.70.0040.00417.63
8.2.60.0030.00517.63
8.2.50.0080.00017.63
8.2.40.0040.00419.22
8.2.30.0000.00817.89
8.2.20.0000.00718.11
8.2.10.0000.00719.29
8.2.00.0040.00419.11
8.1.310.0040.01416.41
8.1.300.0090.00618.29
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0000.00823.97
8.1.230.0070.00420.95
8.1.220.0040.00417.76
8.1.210.0040.00718.77
8.1.200.0060.00317.35
8.1.190.0050.00217.23
8.1.180.0040.00418.10
8.1.170.0080.00017.62
8.1.160.0070.00018.94
8.1.150.0040.00418.89
8.1.140.0040.00418.88
8.1.130.0090.00017.41
8.1.120.0040.00417.49
8.1.110.0040.00417.44
8.1.100.0040.00417.36
8.1.90.0000.00717.37
8.1.80.0040.00417.30
8.1.70.0030.00517.44
8.1.60.0030.00617.59
8.1.50.0000.00817.54
8.1.40.0000.00717.39
8.1.30.0060.00317.54
8.1.20.0080.00017.50
8.1.10.0040.00417.61
8.1.00.0000.00817.57
8.0.300.0070.00020.01
8.0.290.0040.00416.63
8.0.280.0000.00718.59
8.0.270.0070.00017.87
8.0.260.0000.00716.69
8.0.250.0000.00816.85
8.0.240.0030.00316.99
8.0.230.0070.00016.91
8.0.220.0000.00716.92
8.0.210.0000.00716.84
8.0.200.0000.00716.81
8.0.190.0030.00316.93
8.0.180.0000.00816.79
8.0.170.0080.00016.92
8.0.160.0030.00716.77
8.0.150.0050.00316.77
8.0.140.0060.00316.73
8.0.130.0030.00313.28
8.0.120.0030.00616.88
8.0.110.0040.00416.80
8.0.100.0000.00816.66
8.0.90.0050.00316.74
8.0.80.0070.00816.81
8.0.70.0020.00516.87
8.0.60.0000.00816.92
8.0.50.0000.00716.97
8.0.30.0070.01216.87
8.0.20.0140.00816.86
8.0.10.0130.00917.00
8.0.00.0140.00717.02
7.4.330.0000.00515.55
7.4.320.0040.00416.46
7.4.300.0060.00016.65
7.4.290.0050.00316.39
7.4.280.0050.00316.60
7.4.270.0000.00616.50
7.4.260.0050.00316.55
7.4.250.0000.00716.46
7.4.240.0050.00316.38
7.4.230.0070.00016.44
7.4.220.0050.00216.52
7.4.210.0100.01016.57
7.4.200.0030.00316.55
7.4.160.0070.00816.68
7.4.150.0160.00516.54
7.4.140.0130.00716.46
7.4.130.0120.00916.43
7.4.120.0080.01216.48
7.4.110.0100.01016.50
7.4.100.0180.00416.46
7.4.90.0120.00816.51
7.4.80.0170.00416.48
7.4.70.0120.00716.46
7.4.60.0150.00816.38
7.4.50.0130.00816.39
7.4.40.0090.01316.34
7.4.30.0140.00916.50
7.4.20.0140.00616.44
7.4.10.0150.00616.40
7.4.00.0130.00816.54
7.3.330.0030.00316.21
7.3.320.0030.00313.16
7.3.310.0040.00416.27
7.3.300.0040.00416.04
7.3.290.0000.00616.09
7.3.280.0090.01116.15
7.3.270.0120.00816.19
7.3.260.0090.01116.22
7.3.250.0140.00916.22
7.3.240.0130.00916.21
7.3.230.0090.01116.19
7.3.220.0180.00716.16
7.3.210.0130.00816.20
7.3.200.0100.01116.17
7.3.190.0140.00716.14
7.3.180.0080.01116.13
7.3.170.0140.00716.15
7.3.160.0110.00816.12
7.3.150.0140.00616.15
7.3.140.0160.00416.19
7.3.130.0160.00616.19
7.3.120.0120.00816.17
7.3.110.0100.01016.08
7.3.100.0080.00916.01
7.3.90.0100.01016.45
7.3.80.0130.01316.17
7.3.70.0150.00516.28
7.3.60.0130.00616.31
7.3.50.0130.00816.30
7.3.40.0120.01216.35
7.3.30.0150.00716.32
7.3.20.0160.00416.38
7.3.10.0100.01116.25
7.3.00.0140.00816.26

preferences:
71.27 ms | 402 KiB | 5 Q