3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function bar (int $test) { var_dump($test); } } $foo = new foo(); $foo->bar("1");

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.0130.00618.30
8.3.50.0090.00618.00
8.3.40.0180.00318.70
8.3.30.0100.00318.64
8.3.20.0040.00420.26
8.3.10.0040.00421.82
8.3.00.0050.00319.85
8.2.180.0060.00918.32
8.2.170.0070.00722.96
8.2.160.0100.00320.27
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.41
8.2.120.0000.00826.35
8.2.110.0060.00319.16
8.2.100.0080.00417.80
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0020.00517.91
8.2.50.0040.00418.07
8.2.40.0050.00520.42
8.2.30.0000.00820.43
8.2.20.0050.00317.68
8.2.10.0070.00018.02
8.2.00.0000.00718.09
8.1.280.0060.00925.92
8.1.270.0000.00820.16
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0000.00923.88
8.1.230.0110.00017.77
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0030.00717.23
8.1.190.0030.00517.11
8.1.180.0040.00418.10
8.1.170.0000.00918.51
8.1.160.0040.00420.59
8.1.150.0050.00318.95
8.1.140.0050.00319.55
8.1.130.0000.00817.69
8.1.120.0000.00817.41
8.1.110.0040.00417.40
8.1.100.0050.00217.36
8.1.90.0000.00717.32
8.1.80.0090.00017.36
8.1.70.0000.00717.19
8.1.60.0000.00717.49
8.1.50.0040.00417.55
8.1.40.0030.00617.41
8.1.30.0080.00017.66
8.1.20.0040.00417.57
8.1.10.0070.00017.54
8.1.00.0040.00417.58
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0000.00718.29
8.0.270.0040.00417.14
8.0.260.0030.00317.22
8.0.250.0030.00316.88
8.0.240.0080.00016.94
8.0.230.0070.00016.98
8.0.220.0070.00016.89
8.0.210.0050.00216.87
8.0.200.0030.00316.99
8.0.190.0040.00416.86
8.0.180.0000.00716.91
8.0.170.0060.00316.81
8.0.160.0050.00216.93
8.0.150.0040.00416.84
8.0.140.0080.00016.78
8.0.130.0000.00613.30
8.0.120.0040.00416.85
8.0.110.0000.00716.93
8.0.100.0000.00716.73
8.0.90.0070.00016.83
8.0.80.0060.01816.92
8.0.70.0000.00716.75
8.0.60.0000.00716.95
8.0.50.0040.00416.88
8.0.30.0110.01017.26
8.0.20.0120.00617.40
8.0.10.0000.00716.80
8.0.00.0080.00916.68
7.4.330.0020.00216.67
7.4.320.0000.00716.43
7.4.300.0000.00716.60
7.4.290.0030.00316.55
7.4.280.0050.00316.58
7.4.270.0070.00016.52
7.4.260.0050.00216.41
7.4.250.0040.00416.57
7.4.240.0030.00416.52
7.4.230.0030.00316.70
7.4.220.0030.01616.62
7.4.210.0070.00716.62
7.4.200.0030.00316.68
7.4.160.0110.00516.27
7.4.150.0100.00717.40
7.4.140.0110.00817.86
7.4.130.0090.00816.38
7.4.120.0150.00216.44
7.4.110.0030.01416.57
7.4.100.0080.00816.48
7.4.90.0080.00816.51
7.4.80.0100.00719.39
7.4.70.0110.00516.43
7.4.60.0070.01116.47
7.4.50.0030.01216.45
7.4.40.0170.00016.44
7.4.30.0060.01516.45
7.4.00.0060.00914.65
7.3.330.0050.00013.22
7.3.320.0030.00313.11
7.3.310.0030.00316.32
7.3.300.0060.00316.11
7.3.290.0090.00916.23
7.3.280.0100.00616.22
7.3.270.0070.01017.40
7.3.260.0080.00816.30
7.3.240.0110.00816.22
7.3.230.0110.00616.39
7.3.210.0030.01416.44
7.3.200.0130.00316.12
7.3.190.0070.01016.39
7.3.180.0070.01116.51
7.3.170.0090.00916.43
7.3.160.0030.01316.49
7.3.10.0110.00316.62
7.3.00.0040.00816.75
7.2.330.0130.00416.57
7.2.320.0100.00716.63
7.2.310.0030.01316.72
7.2.300.0120.00616.53
7.2.290.0150.00616.41
7.2.130.0060.00616.88
7.2.120.0120.00316.93
7.2.110.0000.01016.90
7.2.100.0060.00916.73
7.2.90.0000.02116.34
7.2.80.0100.01016.52
7.2.70.0060.00916.86
7.2.60.0110.00716.84
7.2.50.0090.00616.87
7.2.40.0040.01116.96
7.2.30.0070.00717.01
7.2.20.0090.00016.79
7.2.10.0040.01116.97
7.2.00.0020.01118.13
7.1.250.0040.01115.81
7.1.200.0060.00915.73
7.1.100.0130.00718.03
7.1.70.0070.00717.14
7.1.60.0110.01419.44
7.1.50.0060.01516.96
7.1.00.0030.07722.40
7.0.200.0000.00916.55
7.0.60.0130.07720.06
7.0.50.0030.07717.87
7.0.40.0100.08720.30
7.0.30.0270.07720.30
7.0.20.0330.05720.20
7.0.10.0170.06720.15
7.0.00.0030.04720.22
5.6.280.0070.06321.05
5.6.210.0070.07020.61
5.6.200.0030.04018.13
5.6.190.0100.06320.79
5.6.180.0270.05720.68
5.6.170.0170.06320.62
5.6.160.0100.04020.39
5.6.150.0070.06018.21
5.6.140.0170.07718.29
5.6.130.0000.04718.23
5.6.120.0100.06721.10
5.6.110.0070.05021.05
5.6.100.0100.08020.95
5.6.90.0130.07720.95
5.6.80.0200.06720.38
5.5.350.0100.06020.45
5.5.340.0130.06317.98
5.5.330.0070.04020.25
5.5.320.0630.04020.30
5.5.310.0330.07320.23
5.5.300.0130.04017.93
5.5.290.0030.08317.98
5.5.280.0070.04020.77
5.5.270.0100.06020.86
5.5.260.0030.05320.87
5.5.250.0030.04020.68
5.5.240.3800.04720.12

preferences:
48.74 ms | 400 KiB | 5 Q