3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo( &$arg1, &$arg2 ) { var_dump( $arg1, $arg2 ); } $a = 1; $b = 2; call_user_func_array( 'foo', array( $a, $b ) );

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.0040.01120.32
8.3.50.0070.01417.95
8.3.40.0110.01118.79
8.3.30.0040.01118.89
8.3.20.0070.00021.77
8.3.10.0040.00423.52
8.3.00.0080.00021.90
8.2.180.0120.00318.61
8.2.170.0150.00322.96
8.2.160.0000.01419.08
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00718.09
8.2.110.0030.00619.19
8.2.100.0060.00617.91
8.2.90.0030.00518.18
8.2.80.0040.00417.97
8.2.70.0040.00418.04
8.2.60.0030.00518.09
8.2.50.0000.00918.10
8.2.40.0070.00321.05
8.2.30.0020.00519.12
8.2.20.0040.00417.93
8.2.10.0000.00720.54
8.2.00.0040.00419.38
8.1.280.0190.00325.92
8.1.270.0040.00418.82
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0030.01017.45
8.1.230.0100.00020.94
8.1.220.0000.00717.74
8.1.210.0030.00518.82
8.1.200.0030.00717.35
8.1.190.0080.00017.24
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0000.00818.88
8.1.150.0040.00418.80
8.1.140.0040.00422.13
8.1.130.0040.00420.14
8.1.120.0050.00217.39
8.1.110.0080.00017.41
8.1.100.0030.00317.51
8.1.90.0040.00417.49
8.1.80.0040.00417.33
8.1.70.0020.00517.32
8.1.60.0000.00817.48
8.1.50.0000.00817.40
8.1.40.0070.00017.56
8.1.30.0040.00417.63
8.1.20.0030.00617.48
8.1.10.0040.00417.49
8.1.00.0040.00417.41
8.0.300.0070.00019.64
8.0.290.0000.00816.75
8.0.280.0090.00018.45
8.0.270.0080.00017.25
8.0.260.0000.00618.36
8.0.250.0000.00616.92
8.0.240.0000.00717.06
8.0.230.0000.00717.07
8.0.220.0040.00416.95
8.0.210.0000.00716.84
8.0.200.0000.00617.00
8.0.190.0040.00416.89
8.0.180.0030.00517.02
8.0.170.0090.00016.88
8.0.160.0000.00716.99
8.0.150.0070.00416.90
8.0.140.0040.00416.93
8.0.130.0060.00013.46
8.0.120.0060.00316.89
8.0.110.0070.00016.90
8.0.100.0070.00017.01
8.0.90.0040.00416.93
8.0.80.0090.00516.99
8.0.70.0040.00417.02
8.0.60.0030.00516.85
8.0.50.0000.00716.81
8.0.30.0100.01017.01
8.0.20.0150.00616.88
8.0.10.0050.00317.14
8.0.00.0080.01016.85
7.4.330.0050.00016.84
7.4.320.0060.00016.56
7.4.300.0000.00716.34
7.4.290.0000.00616.40
7.4.280.0040.00416.49
7.4.270.0000.00616.50
7.4.260.0040.00416.53
7.4.250.0030.00316.46
7.4.240.0040.00416.59
7.4.230.0040.00416.59
7.4.220.0040.00416.70
7.4.210.0090.00816.57
7.4.200.0070.00016.59
7.4.160.0090.00816.65
7.4.140.0150.01217.86
7.4.130.0110.00616.70
7.4.120.0140.00316.52
7.4.110.0110.01116.63
7.4.100.0110.00816.52
7.4.90.0070.01016.37
7.4.80.0090.00919.39
7.4.70.0060.01216.45
7.4.60.0090.00616.44
7.4.50.0100.00616.59
7.4.40.0030.01216.47
7.4.00.0040.00914.91
7.3.330.0000.00613.23
7.3.320.0000.00513.39
7.3.310.0030.00316.42
7.3.300.0000.00716.31
7.3.290.0030.00316.25
7.3.280.0140.00116.38
7.3.260.0100.01116.40
7.3.240.0110.00716.42
7.3.230.0140.00716.50
7.3.210.0040.01816.39
7.3.200.0120.00416.39
7.3.190.0000.01616.64
7.3.180.0120.00316.31
7.3.170.0130.00416.39
7.3.160.0080.01316.36
7.3.20.0450.00614.63
7.3.10.0780.00615.03
7.3.00.0620.00714.87
7.2.330.0180.00616.41
7.2.320.0110.00716.25
7.2.310.0120.01316.63
7.2.300.0090.00916.18
7.2.290.0060.01216.29
7.2.130.0720.00714.88
7.2.120.0790.00814.96
7.2.110.0700.00814.94
7.2.100.0730.00714.87
7.2.90.0800.00515.04
7.2.80.0750.00515.04
7.2.70.0620.00815.06
7.2.60.0750.00715.07
7.2.50.0660.00815.03
7.2.40.0690.00815.07
7.2.30.0860.00815.03
7.2.20.0730.00815.07
7.2.10.0800.00715.03
7.2.00.0760.00715.04
7.1.250.0680.00613.98
7.0.330.0750.00513.37
5.6.380.0080.00814.03

preferences:
58.56 ms | 401 KiB | 5 Q