3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ar = ['orderby' => 1, 'orderby' => 2]; print_r($ar);

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.0070.01118.31
8.3.50.0110.00618.18
8.3.40.0140.00018.72
8.3.30.0140.00418.42
8.3.20.0050.00319.08
8.3.10.0080.00021.60
8.3.00.0070.00020.52
8.2.180.0110.00718.07
8.2.170.0070.00718.82
8.2.160.0120.00822.96
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0070.00019.54
8.2.120.0080.00026.35
8.2.110.0090.00019.23
8.2.100.0040.00718.16
8.2.90.0050.00317.50
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0070.00018.22
8.2.50.0080.00018.10
8.2.40.0000.00719.30
8.2.30.0090.00019.28
8.2.20.0060.00317.95
8.2.10.0040.00417.94
8.2.00.0030.00517.44
8.1.280.0110.00425.92
8.1.270.0080.00018.75
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0040.00422.20
8.1.230.0030.01018.73
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0090.00017.22
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0080.00018.52
8.1.160.0060.00318.80
8.1.150.0050.00318.91
8.1.140.0040.00422.00
8.1.130.0000.00721.92
8.1.120.0000.00717.34
8.1.110.0000.00717.38
8.1.100.0040.00417.32
8.1.90.0050.00317.36
8.1.80.0040.00417.41
8.1.70.0040.00417.36
8.1.60.0000.00917.55
8.1.50.0000.00817.34
8.1.40.0030.00517.47
8.1.30.0030.00517.44
8.1.20.0080.00017.59
8.1.10.0030.00617.45
8.1.00.0020.00517.36
8.0.300.0040.00418.77
8.0.290.0030.00616.63
8.0.280.0080.00018.37
8.0.270.0070.00017.13
8.0.260.0000.00618.22
8.0.250.0030.00316.89
8.0.240.0040.00416.78
8.0.230.0030.00316.81
8.0.220.0040.00416.84
8.0.210.0070.00016.79
8.0.200.0030.00316.86
8.0.190.0000.00716.87
8.0.180.0060.00316.86
8.0.170.0080.00016.84
8.0.160.0000.00716.82
8.0.150.0030.00316.79
8.0.140.0040.00416.66
8.0.130.0030.00313.27
8.0.120.0090.00016.81
8.0.110.0000.00816.84
8.0.100.0040.00416.70
8.0.90.0000.00716.75
8.0.80.0090.00616.76
8.0.70.0070.00016.75
8.0.60.0040.00416.69
8.0.50.0070.00016.62
8.0.30.0100.01017.00
8.0.20.0130.01017.40
8.0.10.0040.00416.72
8.0.00.0130.01016.64
7.4.330.0000.00715.55
7.4.320.0000.00616.46
7.4.300.0020.00516.38
7.4.290.0000.00816.45
7.4.280.0050.00616.51
7.4.270.0030.00316.53
7.4.260.0070.00016.43
7.4.250.0040.00416.46
7.4.240.0020.00516.54
7.4.230.0000.00716.24
7.4.220.0040.00416.43
7.4.210.0060.00916.55
7.4.200.0030.00616.51
7.4.160.0090.00616.31
7.4.140.0110.01017.86
7.4.130.0070.01016.28
7.4.120.0100.00716.48
7.3.330.0030.00313.11
7.3.320.0050.00012.85
7.3.310.0000.00715.94
7.3.300.0000.00716.15
7.3.290.0000.00716.11
7.3.280.0080.00916.15
7.3.260.0120.00716.32
7.3.240.0080.00916.13
5.6.380.0100.00713.81

preferences:
52.22 ms | 400 KiB | 5 Q