3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Car { public function __toString() { echo "MyContent"; } } $o = new Car(); echo $o;

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.70.0160.00618.43
8.3.60.0060.01216.71
8.3.50.0050.01422.12
8.3.40.0000.01518.59
8.3.30.0030.01218.67
8.3.20.0040.00420.25
8.3.10.0040.00423.84
8.3.00.0000.00819.85
8.2.190.0070.01316.88
8.2.180.0090.00916.50
8.2.170.0110.00419.02
8.2.160.0110.00422.96
8.2.150.0080.01224.18
8.2.140.0000.00824.66
8.2.130.0040.00419.15
8.2.120.0040.00426.35
8.2.110.0030.00620.35
8.2.100.0090.00317.83
8.2.90.0050.00319.22
8.2.80.0060.00317.97
8.2.70.0080.00417.63
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0040.00421.16
8.2.30.0040.00420.57
8.2.20.0070.00017.80
8.2.10.0080.00018.09
8.2.00.0000.00717.94
8.1.280.0070.01425.92
8.1.270.0200.00020.25
8.1.260.0050.00228.09
8.1.250.0000.00828.09
8.1.240.0030.00622.19
8.1.230.0070.00417.42
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0030.00617.47
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0040.00418.66
8.1.160.0020.00520.66
8.1.150.0070.00018.80
8.1.140.0050.00319.57
8.1.130.0000.00717.73
8.1.120.0000.00717.51
8.1.110.0000.00717.34
8.1.100.0000.00817.43
8.1.90.0040.00417.51
8.1.80.0040.00417.46
8.1.70.0050.00317.38
8.1.60.0030.00617.40
8.1.50.0060.00317.54
8.1.40.0030.00617.46
8.1.30.0030.00617.63
8.1.20.0000.00717.65
8.1.10.0040.00417.56
8.1.00.0000.00717.49
8.0.300.0040.00418.77
8.0.290.0040.00416.74
8.0.280.0000.00818.50
8.0.270.0030.00317.25
8.0.260.0000.00717.15
8.0.250.0000.00716.93
8.0.240.0060.00017.06
8.0.230.0030.00416.89
8.0.220.0040.00416.98
8.0.210.0000.00716.81
8.0.200.0060.00016.89
8.0.190.0080.00016.89
8.0.180.0040.00417.00
8.0.170.0040.00416.94
8.0.160.0030.00516.86
8.0.150.0090.00016.93
8.0.140.0040.00416.88
8.0.130.0050.00013.38
8.0.120.0000.00816.91
8.0.110.0050.00316.91
8.0.100.0050.00216.94
8.0.90.0040.00416.77
8.0.80.0130.00716.98
8.0.70.0000.00716.84
8.0.60.0050.00216.91
8.0.50.0000.00716.77
8.0.30.0080.01117.01
8.0.20.0090.01017.40
8.0.10.0040.00416.96
8.0.00.0050.01316.77
7.4.330.0000.00516.67
7.4.320.0040.00416.55
7.4.300.0030.00316.60
7.4.290.0050.00216.50
7.4.280.0030.00616.50
7.4.270.0070.00316.43
7.4.260.0070.00416.48
7.4.250.0040.00416.44
7.4.240.0020.00516.53
7.4.230.0000.00716.30
7.4.220.0110.00816.62
7.4.210.0100.00416.66
7.4.200.0030.00316.25
7.4.160.0070.00716.48
7.4.150.0060.01217.40
7.4.140.0150.00517.86
7.4.130.0110.00816.58
7.4.120.0100.00816.60
7.4.110.0060.01016.73
7.4.100.0060.01016.43
7.4.90.0060.00916.30
7.4.80.0140.00719.39
7.4.70.0090.00916.49
7.4.60.0140.00316.46
7.4.50.0070.00716.35
7.4.40.0060.01016.46
7.4.30.0160.00716.55
7.4.00.0080.00815.02
7.3.330.0050.00013.29
7.3.320.0000.00513.23
7.3.310.0070.00016.21
7.3.300.0040.00416.06
7.3.290.0000.00716.27
7.3.280.0100.00716.32
7.3.270.0060.01017.40
7.3.260.0170.00716.26
7.3.250.0100.01016.49
7.3.240.0030.01616.35
7.3.230.0080.01116.48
7.3.210.0100.00616.22
7.3.200.0100.00716.26
7.3.190.0130.00816.32
7.3.180.0120.00916.35
7.3.170.0140.00716.50
7.3.160.0100.00716.43
7.2.330.0160.00316.47
7.2.320.0110.01116.47
7.2.310.0130.00616.71
7.2.300.0030.01316.40
7.2.290.0060.01016.55
7.2.80.0070.00216.36
7.2.60.0130.00016.66
7.2.00.0080.00619.51
7.1.200.0000.00715.39
7.1.100.0040.00717.94
7.1.70.0050.00716.82
7.1.60.0030.02019.13
7.1.50.0070.01416.74
7.1.00.0070.07022.57
7.0.200.0040.00416.71
7.0.60.0100.08019.96
7.0.50.0070.08017.87
7.0.40.0030.04320.31
7.0.30.0330.07720.26
7.0.20.0370.06020.27
7.0.10.0130.08020.10
7.0.00.0070.09320.22
5.6.210.0000.04720.70
5.6.200.0100.04018.16
5.6.190.0070.07020.42
5.6.180.0270.07020.39
5.6.170.0230.03320.50
5.6.160.0070.05320.44
5.6.150.0070.05318.23
5.6.140.0000.04018.13
5.6.130.0000.06018.18
5.6.120.0030.07721.12
5.6.110.0100.08320.98
5.6.100.0000.04720.99
5.6.90.0100.08321.11
5.6.80.0000.08720.44
5.5.350.0070.06020.53
5.5.340.0030.08717.96
5.5.330.0070.04320.18
5.5.320.0230.08020.37
5.5.310.0170.04320.30
5.5.300.0030.05717.99
5.5.290.0030.08318.01
5.5.280.0100.05020.73
5.5.270.0170.07320.79
5.5.260.0030.04020.76
5.5.250.0100.07720.71
5.5.240.0300.06720.19

preferences:
74.28 ms | 401 KiB | 5 Q