3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myarray = array(); function myfunc(&$myarray) { $myarray[] = array( 'a'=>1, 'b'=>"my name" ); } myfunc($myarray); print_r($myarray);

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.80.0070.00318.55
8.3.70.0110.00418.18
8.3.60.0110.00418.30
8.3.50.0140.00717.33
8.3.40.0040.01118.72
8.3.30.0120.00318.46
8.3.20.0070.00021.90
8.3.10.0000.00821.91
8.3.00.0000.00823.61
8.2.200.0060.00318.29
8.2.190.0110.00316.63
8.2.180.0150.00316.32
8.2.170.0110.00418.92
8.2.160.0030.01022.96
8.2.150.0080.00025.66
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0070.00026.16
8.2.110.0100.00020.37
8.2.100.0080.00317.72
8.2.90.0050.00317.97
8.2.80.0000.00917.97
8.2.70.0000.00817.68
8.2.60.0040.00418.03
8.2.50.0000.00818.10
8.2.40.0040.00422.27
8.2.30.0070.00019.15
8.2.20.0070.00017.97
8.2.10.0070.00019.27
8.2.00.0000.00719.04
8.1.290.0090.00018.88
8.1.280.0080.00825.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00719.01
8.1.230.0040.00822.81
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0050.00317.10
8.1.180.0050.00318.10
8.1.170.0030.00618.72
8.1.160.0000.00718.81
8.1.150.0050.00218.88
8.1.140.0040.00418.86
8.1.130.0000.00719.98
8.1.120.0070.00017.40
8.1.110.0000.00717.26
8.1.100.0000.00717.28
8.1.90.0030.00317.36
8.1.80.0040.00417.38
8.1.70.0070.00017.45
8.1.60.0000.00817.46
8.1.50.0040.00417.56
8.1.40.0040.00417.50
8.1.30.0030.00617.66
8.1.20.0040.00417.51
8.1.10.0020.00517.48
8.1.00.0040.00417.44
8.0.300.0050.00219.50
8.0.290.0060.00316.75
8.0.280.0000.00718.29
8.0.270.0050.00317.26
8.0.260.0000.00618.56
8.0.250.0050.00316.89
8.0.240.0030.00316.96
8.0.230.0070.00016.84
8.0.220.0080.00016.79
8.0.210.0000.00716.79
8.0.200.0030.00316.77
8.0.190.0000.00716.94
8.0.180.0070.00016.80
8.0.170.0060.00316.89
8.0.160.0000.00716.71
8.0.150.0030.00316.84
8.0.140.0070.00016.77
8.0.130.0000.00613.25
8.0.120.0040.00416.77
8.0.110.0080.00016.67
8.0.100.0000.00816.84
8.0.90.0040.00416.80
8.0.80.0060.00816.76
8.0.70.0040.00416.83
8.0.60.0000.00816.71
8.0.50.0000.00716.62
8.0.30.0080.00616.92
8.0.20.0140.01117.23
8.0.10.0000.00916.99
8.0.00.0110.00716.70
7.4.330.0060.00015.55
7.4.320.0060.00016.46
7.4.300.0030.00316.48
7.4.290.0030.00316.46
7.4.280.0050.00316.64
7.4.270.0030.00316.59
7.4.260.0000.00716.56
7.4.250.0030.00316.51
7.4.240.0020.00616.51
7.4.230.0070.00016.60
7.4.220.0000.00716.66
7.4.210.0060.01016.59
7.4.200.0030.00316.58
7.4.160.0090.00816.49
7.4.140.0070.01017.86
7.4.130.0180.00016.35
7.4.120.0100.00716.48
7.4.110.0120.00916.57
7.4.100.0060.01516.27
7.4.90.0060.01016.39
7.4.80.0060.01219.39
7.4.70.0060.01016.64
7.4.60.0100.00716.36
7.4.50.0000.01616.46
7.4.40.0130.00316.32
7.4.00.0040.01415.12
7.3.330.0060.00013.31
7.3.320.0030.00313.31
7.3.310.0030.00316.10
7.3.300.0060.00016.12
7.3.290.0120.00716.23
7.3.280.0030.01216.25
7.3.260.0090.00916.36
7.3.240.0050.01216.35
7.3.230.0030.01516.40
7.3.210.0080.00816.30
7.3.200.0140.00416.40
7.3.190.0080.00916.38
7.3.180.0130.00316.61
7.3.170.0070.01116.25
7.3.160.0110.00516.42
7.3.120.0070.01214.59
7.3.110.0120.00714.63
7.3.100.0030.01014.56
7.3.90.0050.01014.70
7.3.80.0030.00814.64
7.3.70.0080.00414.63
7.3.60.0020.00914.72
7.3.50.0080.00814.72
7.3.40.0020.01114.70
7.3.30.0050.00514.83
7.3.20.0080.00716.65
7.3.10.0100.00416.65
7.3.00.0070.00716.66
7.2.330.0090.00916.65
7.2.320.0070.01016.38
7.2.310.0110.00616.73
7.2.300.0040.01516.65
7.2.290.0050.01116.42
7.2.250.0100.01015.18
7.2.240.0090.00915.00
7.2.230.0060.01114.84
7.2.220.0080.00615.13
7.2.210.0080.00515.14
7.2.200.0020.01314.92
7.2.190.0060.00614.76
7.2.180.0060.00914.95
7.2.170.0030.01214.92
7.2.160.0040.00814.87
7.2.150.0040.00916.66
7.2.140.0110.00316.79
7.2.130.0080.00816.74
7.2.120.0060.00516.69
7.2.110.0120.00516.53
7.2.100.0050.01016.72
7.2.90.0050.01016.78
7.2.80.0090.00816.80
7.2.70.0070.00716.84
7.2.60.0020.00916.85
7.2.50.0030.00816.70
7.2.40.0050.00816.75
7.2.30.0050.01116.77
7.2.20.0040.00816.79
7.2.10.0080.00616.81
7.2.00.0080.00716.84
7.1.330.0070.00815.76
7.1.320.0080.00515.79
7.1.310.0100.00315.65
7.1.300.0060.01115.76
7.1.290.0090.00615.60
7.1.280.0070.00515.64
7.1.270.0070.01015.51
7.1.260.0070.00515.74
7.1.250.0100.00515.77

preferences:
29.53 ms | 401 KiB | 5 Q