3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Something { public function whatever(array ...$data) { var_dump($data); } } $some = new Something(); $stuff = ['name'=>'Product 1']; $some->whatever($stuff);

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.0090.00618.43
8.3.50.0180.00321.92
8.3.40.0070.01418.68
8.3.30.0100.00319.09
8.3.20.0040.00420.16
8.3.10.0040.00421.91
8.3.00.0040.00419.02
8.2.180.0170.00318.29
8.2.170.0140.00022.96
8.2.160.0030.01022.26
8.2.150.0110.00724.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0050.00320.93
8.2.110.0030.00621.06
8.2.100.0100.00317.84
8.2.90.0040.00417.75
8.2.80.0050.00318.79
8.2.70.0040.00418.04
8.2.60.0030.00518.16
8.2.50.0000.00818.10
8.2.40.0000.00719.30
8.2.30.0050.00319.25
8.2.20.0000.00717.48
8.2.10.0040.00418.02
8.2.00.0000.00817.73
8.1.280.0110.01125.92
8.1.270.0060.00318.83
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0000.01019.42
8.1.230.0100.00319.14
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.10
8.1.190.0030.00618.89
8.1.180.0030.00518.91
8.1.170.0000.00918.49
8.1.160.0040.00419.01
8.1.150.0040.00418.75
8.1.140.0040.00417.32
8.1.130.0000.00717.79
8.1.120.0000.00717.43
8.1.110.0040.00417.44
8.1.100.0040.00417.30
8.1.90.0040.00417.32
8.1.80.0050.00217.40
8.1.70.0030.00317.39
8.1.60.0000.00917.44
8.1.50.0030.00617.57
8.1.40.0000.00817.58
8.1.30.0040.00417.66
8.1.20.0080.00017.52
8.1.10.0000.00717.47
8.1.00.0030.00617.51
8.0.300.0000.00718.77
8.0.290.0060.00316.63
8.0.280.0000.00718.38
8.0.270.0030.00317.30
8.0.260.0050.00317.19
8.0.250.0030.00316.88
8.0.240.0040.00416.79
8.0.230.0030.00316.77
8.0.220.0000.00616.87
8.0.210.0030.00316.73
8.0.200.0030.00316.72
8.0.190.0000.00816.91
8.0.180.0050.00516.82
8.0.170.0020.00516.86
8.0.160.0050.00216.89
8.0.150.0040.00816.77
8.0.140.0040.00416.68
8.0.130.0030.00313.28
8.0.120.0040.00416.80
8.0.110.0030.00316.79
8.0.100.0000.00716.85
8.0.90.0000.00816.65
8.0.80.0090.00616.84
8.0.70.0040.00416.86
8.0.60.0040.00416.79
8.0.50.0030.00516.82
8.0.30.0100.01416.89
8.0.20.0140.01117.40
8.0.10.0060.00317.02
8.0.00.0100.00816.66
7.4.330.0000.00515.09
7.4.320.0000.00616.54
7.4.300.0000.00716.48
7.4.290.0000.00816.63
7.4.280.0040.00416.60
7.4.270.0070.00016.63
7.4.260.0000.00816.46
7.4.250.0000.00716.48
7.4.240.0020.00516.53
7.4.230.0020.00516.70
7.4.220.0110.00816.56
7.4.210.0180.00316.64
7.4.200.0040.00416.48
7.4.160.0200.00316.30
7.4.150.0070.01417.40
7.4.140.0120.00617.86
7.4.130.0120.00516.36
7.4.120.0060.01016.47
7.4.110.0060.01216.25
7.4.100.0110.00716.48
7.4.90.0140.00316.42
7.4.80.0170.00319.39
7.4.70.0090.00916.46
7.4.60.0100.00616.50
7.4.50.0000.00816.21
7.4.40.0070.01316.47
7.4.30.0120.00616.59
7.4.00.0040.00814.98
7.3.330.0000.00613.19
7.3.320.0000.00513.08
7.3.310.0030.00316.20
7.3.300.0030.00316.25
7.3.290.0060.00816.24
7.3.280.0100.00916.18
7.3.270.0170.00717.40
7.3.260.0130.00316.48
7.3.250.0120.00516.32
7.3.240.0100.01016.28
7.3.230.0050.01116.39
7.3.210.0090.00916.58
7.3.200.0170.00319.39
7.3.190.0090.00616.38
7.3.180.0170.00416.38
7.3.170.0030.01516.31
7.3.160.0130.00316.32
7.3.120.0040.00714.67
7.3.110.0030.00914.80
7.3.100.0000.00914.69
7.3.90.0060.00914.65
7.3.80.0150.00014.50
7.3.70.0040.01214.75
7.3.60.0120.00014.83
7.3.50.0060.00914.66
7.3.40.0060.01014.67
7.3.30.0120.00314.63
7.3.20.0090.00916.41
7.3.10.0060.00816.58
7.3.00.0110.00516.62
7.2.330.0070.01016.35
7.2.320.0080.01616.57
7.2.310.0110.00916.50
7.2.300.0100.00716.54
7.2.290.0140.00616.35
7.2.240.0030.00914.79
7.2.230.0140.00015.09
7.2.220.0030.01315.07
7.2.210.0040.00815.20
7.2.200.0070.00414.97
7.2.190.0100.00714.87
7.2.180.0040.01214.99
7.2.170.0070.00415.04
7.2.160.0060.00915.08
7.2.150.0070.01016.48
7.2.140.0090.00616.75
7.2.130.0100.00616.89
7.2.120.0090.00516.85
7.2.110.0050.00816.76
7.2.100.0100.00516.72
7.2.90.0060.00716.76
7.2.80.0060.01016.57
7.2.70.0090.00616.80
7.2.60.0060.00616.92
7.2.50.0040.00816.83
7.2.40.0030.00816.78
7.2.30.0050.00716.87
7.2.20.0050.00716.81
7.2.10.0040.00916.65
7.2.00.0070.00517.52
7.1.330.0070.00715.85
7.1.320.0110.00015.77
7.1.310.0090.00615.62
7.1.300.0140.00015.77
7.1.290.0080.00415.88
7.1.280.0030.01015.74
7.1.270.0160.00015.49
7.1.260.0030.00715.79
7.1.250.0050.00615.57
7.1.100.0040.01117.74
7.1.70.0120.00516.70
7.1.60.0070.01419.22
7.1.50.0160.00434.80
7.1.00.0000.08022.44
7.0.200.0000.00716.40
7.0.140.0000.03722.00
7.0.60.0100.08319.92
7.0.50.0070.08317.85
7.0.40.0070.04320.23
7.0.30.0300.07020.23
7.0.20.0330.05320.06
7.0.10.0070.08720.24
7.0.00.0030.08720.16
5.6.280.0030.07320.93
5.6.210.0000.04720.50
5.6.200.0100.07718.18
5.6.190.0130.07720.63
5.6.180.0330.04320.61
5.6.170.0300.05720.57
5.6.160.0070.07720.56
5.6.150.0070.05718.16
5.6.140.0030.08318.18
5.6.130.0070.08318.19
5.6.120.0130.07021.12
5.6.110.0100.06721.11
5.6.100.0000.05320.89
5.6.90.0200.07720.96
5.6.80.0000.06320.38
5.5.350.0430.06720.41
5.5.340.0070.08017.96
5.5.330.0200.07020.13
5.5.320.0300.06320.30
5.5.310.0370.07320.27
5.5.300.0070.07317.93
5.5.290.0000.07018.07
5.5.280.0030.05020.77
5.5.270.0170.06720.73
5.5.260.0070.08020.77
5.5.250.0100.05020.47
5.5.240.0070.06720.27
5.4.450.0300.08719.39
5.4.440.0070.06019.43
5.4.430.0200.05019.31
5.4.420.0270.04719.47
5.4.410.0130.05719.20
5.4.400.0230.04719.07
5.4.390.0200.05718.57
5.4.380.0270.04718.79
5.4.370.0330.04018.80
5.4.360.0230.05018.70
5.4.350.0170.05718.84
5.4.340.0230.05318.86
5.4.320.0170.06018.56
5.4.310.0170.05318.84
5.4.300.0170.05318.77
5.4.290.0130.05718.56
5.4.280.0200.06018.50
5.4.270.0230.05318.71
5.4.260.0200.05718.57
5.4.250.0200.06718.57
5.4.240.0370.04718.75
5.4.230.0200.05318.56
5.4.220.0270.05718.76
5.4.210.0200.05318.76
5.4.200.0170.05316.80
5.4.190.0200.05318.49
5.4.180.0270.04718.57
5.4.170.0300.04718.61
5.4.160.0230.05318.79
5.4.150.0300.04018.54
5.4.140.0230.05016.43
5.4.130.0230.05016.44
5.4.120.0300.04016.26
5.4.110.0230.05016.42
5.4.100.0230.04716.34
5.4.90.0230.04716.29
5.4.80.0330.04316.30
5.4.70.0230.05016.15
5.4.60.0200.05016.27
5.4.50.0200.05016.20
5.4.40.0200.05016.19
5.4.30.0270.04316.22
5.4.20.0070.06316.29
5.4.10.0100.05716.28
5.4.00.0170.06315.73
5.3.290.0400.04314.68
5.3.280.0270.06314.59
5.3.270.0130.05714.81
5.3.260.0270.05014.66
5.3.250.0270.04714.66
5.3.240.0270.05314.80
5.3.230.0230.05014.73
5.3.220.0230.04714.63
5.3.210.0200.05314.70
5.3.200.0200.04714.59
5.3.190.0300.03714.70
5.3.180.0200.04714.60
5.3.170.0200.05314.80
5.3.160.0070.06014.56
5.3.150.0230.04714.62
5.3.140.0170.07714.59
5.3.130.0230.06714.73
5.3.120.0170.06014.61
5.3.110.0130.06014.68
5.3.100.0200.05014.09
5.3.90.0170.05014.20
5.3.80.0170.05014.12
5.3.70.0170.05014.22
5.3.60.0200.04714.00
5.3.50.0200.05314.17
5.3.40.0170.05314.00
5.3.30.0170.05314.03
5.3.20.0270.04313.74
5.3.10.0130.05313.68
5.3.00.0130.06013.70
5.2.170.0200.05011.21
5.2.160.0270.03711.19
5.2.150.0230.04711.27
5.2.140.0200.04011.19
5.2.130.0170.04011.17
5.2.120.0200.05311.30
5.2.110.0200.04311.30
5.2.100.0070.04311.20
5.2.90.0130.04011.17
5.2.80.0170.04311.31
5.2.70.0200.03311.22
5.2.60.0100.04711.09
5.2.50.0130.04311.12
5.2.40.0170.03711.20
5.2.30.0130.04311.02
5.2.20.0100.04310.96
5.2.10.0130.05010.91
5.2.00.0070.06310.75
5.1.60.0130.03310.07
5.1.50.0130.03710.07
5.1.40.0130.04710.02
5.1.30.0100.04010.33
5.1.20.0170.03310.33
5.1.10.0100.03710.11
5.1.00.0170.03010.05
5.0.50.0070.0308.58
5.0.40.0070.0278.46
5.0.30.0070.0438.22
5.0.20.0000.0478.30
5.0.10.0070.0408.27
5.0.00.0100.0538.35
4.4.90.0130.0205.89
4.4.80.0100.0205.96
4.4.70.0070.0235.86
4.4.60.0070.0205.94
4.4.50.0070.0205.90
4.4.40.0030.0375.91
4.4.30.0070.0205.88
4.4.20.0030.0236.05
4.4.10.0070.0235.93
4.4.00.0130.0275.91
4.3.110.0030.0235.82
4.3.100.0000.0275.91
4.3.90.0070.0235.80
4.3.80.0000.0405.79
4.3.70.0070.0205.80
4.3.60.0130.0205.87
4.3.50.0100.0235.83
4.3.40.0100.0305.89
4.3.30.0070.0204.64
4.3.20.0070.0204.61
4.3.10.0070.0204.48
4.3.00.0030.0207.30

preferences:
47.17 ms | 401 KiB | 5 Q