3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class A { public function __toString() {} } var_dump((string) new A());

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.0130.00519.00
8.4.120.0080.00824.15
8.4.110.0040.00518.95
8.4.100.0050.00519.02
8.4.90.0130.00620.60
8.4.80.0070.00218.58
8.4.70.0110.00618.09
8.4.60.0150.00518.89
8.4.50.0100.00918.65
8.4.40.0040.00418.60
8.4.30.0090.00618.73
8.4.20.0070.01420.51
8.4.10.0120.00319.59
8.3.260.0130.00816.71
8.3.250.0120.00818.86
8.3.240.0090.00917.12
8.3.230.0080.01116.75
8.3.220.0100.00818.84
8.3.210.0050.00318.39
8.3.200.0030.00516.64
8.3.190.0110.00717.15
8.3.180.0090.01016.79
8.3.170.0070.01120.80
8.3.160.0090.00917.06
8.3.150.0140.00416.99
8.3.140.0090.00317.35
8.3.130.0040.00418.69
8.3.120.0060.01018.98
8.3.110.0070.00420.94
8.3.100.0140.00424.06
8.3.90.0080.00026.77
8.3.80.0090.00017.97
8.3.70.0100.00616.50
8.3.60.0440.00925.92
8.3.50.0120.00925.92
8.3.40.0330.00425.92
8.3.30.0330.00725.92
8.3.20.0380.00325.92
8.3.10.0350.00825.92
8.3.00.0410.00725.92
8.2.290.0080.01020.46
8.2.280.0110.00718.31
8.2.270.0140.00318.74
8.2.260.0110.00318.29
8.2.250.0100.01016.65
8.2.240.0000.01518.77
8.2.230.0090.00622.58
8.2.220.0070.00737.54
8.2.210.0080.00026.77
8.2.200.0060.00316.88
8.2.190.0170.00316.75
8.2.180.0350.00925.92
8.2.170.0360.01525.92
8.2.160.0380.01025.92
8.2.150.0350.00825.92
8.2.140.0370.00425.92
8.2.130.0410.00725.92
8.2.120.0330.00725.92
8.2.110.0280.00625.92
8.2.100.0290.00425.92
8.2.90.0260.01025.92
8.2.80.0420.00525.92
8.2.70.0370.00925.92
8.2.60.0350.01125.92
8.2.50.0330.01225.92
8.2.40.0350.00925.92
8.2.30.0430.00825.92
8.2.20.0380.01425.92
8.2.10.0270.01725.92
8.2.00.0390.00425.92
8.1.330.0090.01021.66
8.1.320.0110.00816.40
8.1.310.0000.00821.75
8.1.300.0150.00418.06
8.1.290.0090.00030.84
8.1.280.0320.01225.92
8.1.270.0360.01225.92
8.1.260.0500.00025.92
8.1.250.0360.00825.92
8.1.240.0260.01525.92
8.1.230.0350.00625.92
8.1.220.0360.00625.92
8.1.210.0400.00725.92
8.1.200.0290.01125.92
8.1.190.0130.01925.92
8.1.180.0220.00725.92
8.1.170.0260.00425.92
8.1.160.0300.00325.92
8.1.150.0330.00425.92
8.1.140.0340.00625.92
8.1.130.0330.00625.92
8.1.120.0280.01325.92
8.1.110.0270.01225.92
8.1.100.0280.00925.92
8.1.90.0370.00425.92
8.1.80.0350.00625.92
8.1.70.0280.01425.92
8.1.60.0330.01325.92
8.1.50.0260.01825.92
8.1.40.0560.00925.92
8.1.30.0350.01025.92
8.1.20.0440.01225.92
8.1.10.0380.00425.92
8.1.00.0290.01125.92

preferences:
53.44 ms | 403 KiB | 5 Q