3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f() { call_user_func_array('g', func_get_args()); } function g(&$arg) { echo $arg; } f("Hello\n");

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.10.0090.00019.65
8.3.140.0040.00417.35
8.3.130.0000.00918.52
8.3.120.0070.00318.96
8.3.110.0130.00620.94
8.3.100.0060.00324.06
8.3.90.0040.00426.77
8.3.80.0090.00016.75
8.3.70.0090.01216.88
8.3.60.0140.00718.56
8.3.50.0070.00716.64
8.3.40.0060.00918.98
8.3.30.0040.01118.67
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0050.00326.16
8.2.260.0160.00318.43
8.2.250.0030.00516.70
8.2.240.0030.00617.27
8.2.230.0000.00822.58
8.2.220.0040.00437.54
8.2.210.0040.01126.77
8.2.200.0000.00918.66
8.2.190.0090.00616.63
8.2.180.0140.00025.92
8.2.170.0120.00318.79
8.2.160.0180.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00626.16
8.2.110.0100.00021.06
8.2.100.0070.00417.91
8.2.90.0040.00419.82
8.2.80.0030.00520.39
8.2.70.0060.00317.80
8.2.60.0040.00418.03
8.2.50.0050.00318.10
8.2.40.0000.00820.96
8.2.30.0040.00419.16
8.2.20.0030.00318.22
8.2.10.0020.00519.11
8.2.00.0040.00419.14
8.1.310.0110.00718.39
8.1.300.0070.01017.79
8.1.290.0050.00530.84
8.1.280.0100.00325.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00322.14
8.1.230.0060.00622.80
8.1.220.0060.00317.79
8.1.210.0030.00618.77
8.1.200.0060.00317.36
8.1.190.0000.00817.23
8.1.180.0090.00018.10
8.1.170.0000.00818.48
8.1.160.0050.00218.89
8.1.150.0030.00318.80
8.1.140.0040.00418.86
8.1.130.0030.00320.13
8.1.120.0030.00317.30
8.1.110.0030.00617.30
8.1.100.0030.00717.29
8.1.90.0000.00717.39
8.1.80.0030.00617.36
8.1.70.0070.00017.37
8.1.60.0030.00517.51
8.1.50.0040.00417.34
8.1.40.0000.00717.37
8.1.30.0040.00417.60
8.1.20.0000.00817.62
8.1.10.0040.00417.40
8.1.00.0000.00717.45
8.0.300.0040.00419.91
8.0.290.0040.00416.88
8.0.280.0000.00818.45
8.0.270.0050.00316.79
8.0.260.0030.00318.54
8.0.250.0060.00016.88
8.0.240.0030.00316.97
8.0.230.0070.00016.88
8.0.220.0000.00716.96
8.0.210.0000.00716.98
8.0.200.0030.00516.96
8.0.190.0030.00717.02
8.0.180.0000.00716.92
8.0.170.0030.00516.98
8.0.160.0000.00716.92
8.0.150.0070.00016.99
8.0.140.0000.00716.88
8.0.130.0000.00613.36
8.0.120.0000.00716.88
8.0.110.0050.00216.98
8.0.100.0000.00716.77
8.0.90.0060.00116.86
8.0.80.0120.00616.82
8.0.70.0100.00517.01
8.0.60.0100.00916.95
8.0.50.0070.00816.79
8.0.30.0090.00716.89
8.0.20.0220.00516.88
8.0.10.0100.00716.89
8.0.00.0070.00517.04
7.4.330.0050.00015.55
7.4.320.0040.00416.39
7.4.300.0000.00616.41
7.4.290.0040.00416.47
7.4.280.0030.00516.47
7.4.270.0030.00316.52
7.4.260.0000.00513.26
7.4.250.0030.00316.31
7.4.240.0030.00316.57
7.4.230.0000.00716.47
7.4.220.0020.00516.38
7.4.210.0120.00516.56
7.4.200.0120.00716.60
7.4.190.0060.00916.64
7.4.180.0110.00316.64
7.4.160.0080.00816.61
7.4.150.0150.00216.50
7.4.140.0040.01116.37
7.4.130.0120.00316.38
7.4.120.0120.00316.23
7.4.110.0060.00916.44
7.4.100.0100.00616.60
7.4.90.0090.00716.47
7.4.80.0080.00616.42
7.4.70.0120.00516.31
7.4.60.0090.00716.34
7.4.50.0090.00616.21
7.4.40.0080.00616.32
7.4.30.0050.01016.41
7.4.20.0110.00316.47
7.4.10.0150.00816.27
7.4.00.0090.00816.36
7.3.330.0000.00716.17
7.3.320.0030.00313.36
7.3.310.0030.00316.41
7.3.300.0050.00216.32
7.3.290.0100.00616.33
7.3.280.0070.00916.33
7.3.270.0130.00516.35
7.3.260.0150.00316.36
7.3.250.0110.00616.32
7.3.240.0100.00916.35
7.3.230.0090.00716.34
7.3.220.0110.00616.21
7.3.210.0050.01116.31
7.3.200.0070.00816.25
7.3.190.0180.00716.17
7.3.180.0080.00716.26
7.3.170.0100.00716.26
7.3.160.0120.00316.27
7.3.150.0080.00816.24
7.3.140.0090.00716.28
7.3.130.0110.00416.33
7.3.120.0100.00616.22
7.3.110.0100.00616.23
7.3.100.0110.00416.22
7.3.90.0070.00816.50
7.3.80.0060.00916.23
7.3.70.0110.00316.32
7.3.60.0130.00716.39
7.3.50.0140.00816.37
7.3.40.0110.00716.39
7.3.30.0090.00716.40
7.3.20.0160.00916.35
7.3.10.0070.00916.34
7.3.00.0090.00716.41

preferences:
27.95 ms | 403 KiB | 5 Q