3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __debugInfo(): array { return [ 'anything' => 'anything' ]; } } var_dump(new Foo());

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.60.0110.00416.38
8.3.50.0110.00416.52
8.3.40.0070.00718.56
8.3.30.0110.00418.40
8.3.20.0080.00020.36
8.3.10.0080.00023.51
8.3.00.0030.00522.43
8.2.180.0070.00718.00
8.2.170.0130.00322.96
8.2.160.0060.00821.86
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00326.16
8.2.110.0060.00620.52
8.2.100.0040.00717.59
8.2.90.0000.00818.03
8.2.80.0000.01017.97
8.2.70.0000.00817.38
8.2.60.0000.00817.50
8.2.50.0000.00817.55
8.2.40.0000.00819.23
8.2.30.0000.00719.16
8.2.20.0030.00518.07
8.2.10.0050.00319.04
8.2.00.0030.00619.19
8.1.280.0090.00625.92
8.1.270.0040.00422.14
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00720.84
8.1.230.0040.00720.98
8.1.220.0000.00917.74
8.1.210.0050.00518.77
8.1.200.0040.00417.13
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0050.00318.95
8.1.160.0040.00418.71
8.1.150.0000.00718.81
8.1.140.0040.00420.70
8.1.130.0030.00320.06
8.1.120.0040.00717.23
8.1.110.0000.00817.20
8.1.100.0040.00417.31
8.1.90.0080.00017.30
8.1.80.0000.00717.25
8.1.70.0030.00317.36
8.1.60.0030.00617.55
8.1.50.0040.00417.41
8.1.40.0040.00417.45
8.1.30.0000.00817.59
8.1.20.0080.00317.40
8.1.10.0070.00017.48
8.1.00.0000.00717.30
8.0.300.0000.00819.89
8.0.290.0040.00416.75
8.0.280.0000.00718.41
8.0.270.0090.00016.68
8.0.260.0040.00420.05
8.0.250.0040.00416.87
8.0.240.0040.00416.77
8.0.230.0000.00816.80
8.0.220.0030.00316.71
8.0.210.0080.00016.71
8.0.200.0030.00316.76
8.0.190.0000.00816.65
8.0.180.0030.00616.83
8.0.170.0000.00916.61
8.0.160.0070.00016.80
8.0.150.0070.00016.77
8.0.140.0040.00416.72
8.0.130.0030.00313.18
8.0.120.0080.00016.67
8.0.110.0000.00716.80
8.0.100.0000.00716.61
8.0.90.0050.00216.64
8.0.80.0080.00816.75
8.0.70.0040.00416.73
8.0.60.0050.00216.73
8.0.50.0000.00716.54
8.0.30.0120.00516.86
8.0.20.0210.00316.82
8.0.10.0040.00416.88
8.0.00.0070.01116.69
7.4.330.0050.00016.67
7.4.320.0060.00016.44
7.4.300.0060.00016.52
7.4.290.0000.00716.57
7.4.280.0050.00316.43
7.4.270.0030.00316.43
7.4.260.0060.00013.21
7.4.250.0030.00516.31
7.4.240.0030.00516.46
7.4.230.0030.00316.32
7.4.220.0040.00316.39
7.4.210.0060.00816.45
7.4.200.0000.00716.17
7.4.140.0150.02017.86
7.4.130.0090.00916.37
7.4.120.0110.01116.51
7.4.110.0100.01316.40
7.4.100.0040.01716.44
7.4.90.0130.00316.25
7.4.80.0090.00819.39
7.4.70.0120.00616.28
7.4.60.0180.00316.44
7.4.50.0070.00316.05
7.4.40.0100.00716.31
7.4.00.0070.00714.84
7.3.330.0000.00716.09
7.3.320.0030.00313.20
7.3.310.0000.00716.21
7.3.300.0070.00016.22
7.3.290.0070.00916.24
7.3.260.0090.00916.30
7.3.240.0110.00716.40
7.3.230.0140.00416.35
7.3.210.0100.00716.21
7.3.200.0070.01016.30
7.3.190.0080.00816.16
7.3.180.0090.01216.15
7.3.170.0000.01616.21
7.3.160.0060.00916.37
7.3.90.0180.00314.78
7.3.80.0160.00014.63
7.3.70.0130.00714.84
7.3.60.0100.00714.71
7.3.50.0120.00614.78
7.3.40.0100.01014.73
7.3.30.0120.00614.61
7.3.20.0030.01316.59
7.3.10.0110.00616.52
7.3.00.0070.01116.60
7.2.330.0120.00516.39
7.2.320.0070.01116.51
7.2.310.0070.01016.21
7.2.300.0030.01516.41
7.2.290.0080.00816.38
7.2.220.0070.01314.46
7.2.210.0090.01114.84
7.2.200.0130.01114.73
7.2.190.0140.00714.66
7.2.180.0060.01014.86
7.2.170.0090.01214.95
7.2.160.0130.00714.64
7.2.150.0030.01716.71
7.2.140.0120.00916.44
7.2.130.0120.00816.94
7.2.120.0090.01116.70
7.2.110.0030.01716.28
7.2.100.0080.01416.70
7.2.90.0060.01516.70
7.2.80.0090.00916.74
7.2.70.0120.00616.77
7.2.60.0000.02016.45
7.2.50.0030.01316.67
7.2.40.0090.01216.76
7.2.30.0100.01016.69
7.2.20.0090.00916.80
7.2.10.0080.01216.72
7.2.00.0060.01216.75
7.1.320.0080.01115.83
7.1.310.0080.01115.52
7.1.300.0120.00515.68
7.1.290.0150.00315.57
7.1.280.0060.01215.62
7.1.270.0120.00615.73
7.1.260.0030.01515.68
7.1.250.0110.00415.79

preferences:
58.08 ms | 401 KiB | 5 Q