3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(...$classes) { var_dump($classes); } foo("Exception", "Throwable", "CustomException");

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.01116.25
8.3.50.0140.00621.03
8.3.40.0040.01118.68
8.3.30.0170.00318.64
8.3.20.0040.00420.21
8.3.10.0000.00821.77
8.3.00.0080.00023.52
8.2.180.0100.00318.04
8.2.170.0100.00722.96
8.2.160.0130.00320.31
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.00019.14
8.2.120.0040.01126.35
8.2.110.0060.00319.39
8.2.100.0060.00617.68
8.2.90.0050.00318.97
8.2.80.0080.00017.97
8.2.70.0000.00917.50
8.2.60.0050.00317.68
8.2.50.0060.00318.09
8.2.40.0040.00422.18
8.2.30.0020.00519.35
8.2.20.0000.00717.45
8.2.10.0080.00018.03
8.2.00.0000.00717.83
8.1.280.0070.01025.92
8.1.270.0070.01022.25
8.1.260.0080.00028.09
8.1.250.0040.01128.09
8.1.240.0060.00322.34
8.1.230.0040.00717.57
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0090.00017.10
8.1.190.0080.00017.10
8.1.180.0080.00018.10
8.1.170.0040.00718.22
8.1.160.0040.00420.68
8.1.150.0040.00418.71
8.1.140.0000.00919.36
8.1.130.0000.00717.55
8.1.120.0000.00717.30
8.1.110.0000.00717.33
8.1.100.0070.00017.15
8.1.90.0040.00417.37
8.1.80.0020.00517.31
8.1.70.0030.00317.29
8.1.60.0030.00517.48
8.1.50.0060.00317.48
8.1.40.0050.00317.35
8.1.30.0030.00617.59
8.1.20.0030.00517.48
8.1.10.0040.00417.52
8.1.00.0030.00517.40
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0080.00018.28
8.0.270.0030.00317.18
8.0.260.0000.00617.10
8.0.250.0000.00716.91
8.0.240.0000.00716.77
8.0.230.0070.00016.77
8.0.220.0000.00716.80
8.0.210.0030.00316.86
8.0.200.0000.00716.80
8.0.190.0030.00616.83
8.0.180.0040.00416.87
8.0.170.0030.00516.88
8.0.160.0000.00816.80
8.0.150.0030.00316.62
8.0.140.0030.00516.80
8.0.130.0000.00513.21
8.0.120.0080.00016.78
8.0.110.0070.00016.88
8.0.100.0070.00016.88
8.0.90.0030.00316.69
8.0.80.0080.00816.85
8.0.70.0040.00416.79
8.0.60.0040.00416.80
8.0.50.0050.00216.86
8.0.30.0120.00617.01
8.0.20.0100.00917.40
8.0.10.0000.00816.70
8.0.00.0050.01316.64
7.4.330.0000.00516.79
7.4.320.0000.00716.46
7.4.300.0040.00416.48
7.4.290.0030.00316.46
7.4.280.0030.00516.47
7.4.270.0030.00316.48
7.4.260.0000.00616.55
7.4.250.0040.00416.37
7.4.240.0000.00716.53
7.4.230.0030.00316.49
7.4.220.0070.02016.55
7.4.210.0080.00816.55
7.4.200.0000.00716.33
7.4.160.0090.00616.12
7.4.150.0100.01017.40
7.4.140.0130.00817.86
7.4.130.0060.01416.32
7.4.120.0080.01416.46
7.4.110.0040.01316.59
7.4.100.0070.01016.44
7.4.90.0100.00716.56
7.4.80.0070.01119.39
7.4.70.0080.00816.37
7.4.60.0080.00816.29
7.4.50.0060.00616.20
7.4.40.0090.00916.26
7.4.30.0170.00016.35
7.4.00.0060.00614.69
7.3.330.0020.00513.30
7.3.320.0050.00013.24
7.3.310.0040.00416.08
7.3.300.0000.00616.27
7.3.290.0040.00416.10
7.3.280.0080.01016.21
7.3.270.0120.00617.40
7.3.260.0030.01516.36
7.3.240.0120.00516.50
7.3.230.0120.00316.39
7.3.210.0120.00616.24
7.3.200.0070.01019.39
7.3.190.0170.00316.47
7.3.180.0120.00816.24
7.3.170.0130.00916.27
7.3.160.0080.00816.42
7.2.330.0100.01016.36
7.2.320.0130.01016.51
7.2.310.0110.00516.30
7.2.300.0080.00816.64
7.2.290.0130.01016.38
7.2.60.0130.00016.57
7.2.00.0070.00719.05
7.1.200.0000.00915.82
7.1.100.0040.00918.18
7.1.70.0030.00517.03
7.1.60.0110.00719.40
7.1.50.0140.01016.89
7.1.00.0030.07722.40
7.0.200.0100.00716.84
7.0.60.0170.08321.74
7.0.50.0100.03717.97
7.0.40.0100.04020.30
7.0.30.0330.05720.23
7.0.20.0400.07020.44
7.0.10.0100.04020.11
7.0.00.0030.07720.25
5.6.280.0100.06021.08
5.6.210.0070.04720.51
5.6.200.0070.07318.22
5.6.190.0100.08020.60
5.6.180.0430.06720.33
5.6.170.0170.04720.55
5.6.160.0170.06720.44
5.6.150.0070.07318.19
5.6.140.0000.05718.12
5.6.130.0070.03718.15
5.6.120.0000.04321.15
5.6.110.0200.07720.97
5.6.100.0070.03721.04
5.6.90.0030.04020.99
5.6.80.0070.03720.41
5.5.350.0230.05020.32
5.5.340.0030.08017.98
5.5.330.0030.04320.21
5.5.320.0230.05020.29
5.5.310.0270.04020.51
5.5.300.0030.08317.98
5.5.290.0130.03317.95
5.5.280.0100.08020.90
5.5.270.0030.08020.72
5.5.260.0100.08020.86
5.5.250.0070.07320.68
5.5.240.0170.05720.14

preferences:
39.94 ms | 401 KiB | 5 Q