3v4l.org

run code in 300+ PHP versions simultaneously
<?php $items = ['foo', 0]; sort($items); var_dump($items);

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.0060.01218.18
8.3.50.0150.00018.27
8.3.40.0140.00018.74
8.3.30.0070.00718.46
8.3.20.0050.00324.18
8.3.10.0070.00024.66
8.3.00.0000.00826.16
8.2.180.0040.01125.92
8.2.170.0090.00618.83
8.2.160.0170.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0090.00018.57
8.2.110.0060.00320.55
8.2.100.0060.00617.72
8.2.90.0040.00419.36
8.2.80.0030.00517.97
8.2.70.0090.00017.50
8.2.60.0030.00617.50
8.2.50.0090.00018.05
8.2.40.0050.00318.22
8.2.30.0000.00717.99
8.2.20.0040.00418.05
8.2.10.0000.00719.08
8.2.00.0000.00719.04
8.1.280.0170.00325.92
8.1.270.0030.00723.99
8.1.260.0080.00026.35
8.1.250.0110.00328.09
8.1.240.0060.00323.79
8.1.230.0040.00820.99
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0030.00617.35
8.1.190.0050.00317.00
8.1.180.0080.00018.10
8.1.170.0040.00418.61
8.1.160.0000.00718.81
8.1.150.0030.00618.80
8.1.140.0000.00718.87
8.1.130.0000.00720.06
8.1.120.0000.00817.28
8.1.110.0080.00017.39
8.1.100.0080.00017.42
8.1.90.0040.00417.36
8.1.80.0110.00017.43
8.1.70.0030.00517.25
8.1.60.0000.00817.40
8.1.50.0040.00417.44
8.1.40.0060.00317.43
8.1.30.0030.00517.62
8.1.20.0050.00317.58
8.1.10.0000.00817.54
8.1.00.0030.00617.44
8.0.300.0000.00821.47
8.0.290.0000.00716.58
8.0.280.0000.00720.09
8.0.270.0080.00017.84
8.0.260.0000.00620.09
8.0.250.0040.00416.78
8.0.240.0070.00016.86
8.0.230.0000.00616.84
8.0.220.0050.00316.71
8.0.210.0040.00416.71
8.0.200.0070.00016.91
8.0.190.0050.00216.88
8.0.180.0000.00716.85
8.0.170.0090.00016.89
8.0.160.0030.00516.86
8.0.150.0000.00716.81
8.0.140.0050.00316.82
8.0.130.0000.00513.16
8.0.120.0080.00016.80
8.0.110.0040.00416.67
8.0.100.0030.00516.70
8.0.90.0000.00816.67
8.0.80.0100.01016.74
8.0.70.0030.00516.71
8.0.60.0050.00316.65
8.0.50.0040.00416.67
8.0.30.0140.01016.68
8.0.20.0130.00616.93
8.0.10.0040.00416.89
8.0.00.0110.01116.66
7.4.330.0050.00015.55
7.4.320.0000.00616.57
7.4.300.0100.00016.48
7.4.290.0000.00716.42
7.4.280.0070.00016.40
7.4.270.0030.00316.55
7.4.260.0030.00313.20
7.4.250.0030.00316.29
7.4.240.0030.00316.45
7.4.230.0030.00516.55
7.4.220.0000.00716.46
7.4.210.0090.00616.47
7.4.200.0030.00316.46
7.4.130.0100.00716.40
7.4.120.0080.01216.41
7.4.110.0130.00316.29
7.4.100.0130.00316.33
7.4.90.0070.01116.30
7.4.80.0070.01216.33
7.4.70.0100.01016.37
7.4.60.0100.00916.28
7.4.50.0100.00816.24
7.4.40.0080.01016.17
7.4.30.0110.00916.22
7.4.20.0100.00916.27
7.4.10.0090.00916.32
7.4.00.0100.00916.31
7.3.330.0030.00316.26
7.3.320.0030.00312.89
7.3.310.0030.00316.21
7.3.300.0070.00016.16
7.3.290.0080.00816.23
7.3.280.0110.00316.13
7.3.260.0170.00316.42
7.3.230.0110.00816.35
7.3.210.0120.00816.30
7.3.200.0100.01116.25
7.3.190.0120.00716.19
7.3.180.0110.00616.24
7.3.170.0110.00716.20
7.3.160.0060.01216.24
7.3.150.0120.00716.23
7.3.140.0100.01016.20
7.3.130.0110.00916.18
7.3.120.0100.00816.21
7.3.110.0110.00916.15
7.3.100.0120.00716.21
7.3.90.0080.01016.23
7.3.80.0090.01016.25
7.3.70.0090.00916.13
7.3.60.0070.01216.21
7.3.50.0080.01016.17
7.3.40.0100.00916.16
7.3.30.0100.01016.12
7.3.20.0180.00916.10
7.3.10.0200.01116.08
7.3.00.0100.01116.05
7.2.330.0080.00916.34
7.2.320.0110.00916.32
7.2.310.0050.01316.27
7.2.300.0070.01216.31
7.2.290.0110.00816.28
7.2.280.0110.01016.27
7.2.270.0110.00816.41
7.2.260.0090.01016.30
7.2.250.0110.00816.36
7.2.240.0070.01216.26
7.2.230.0080.01116.24
7.2.220.0100.00916.33
7.2.210.0100.01016.29
7.2.200.0100.01116.26
7.2.190.0130.00716.32
7.2.180.0100.01016.28
7.2.170.0110.00816.28
7.2.160.0090.00916.31
7.2.150.0100.01116.33
7.2.140.0170.00916.35
7.2.130.0110.01016.33
7.2.120.0140.00616.34
7.2.110.0120.00916.31
7.2.100.0120.00916.30
7.2.90.0120.00816.24
7.2.80.0080.01116.32
7.2.70.0120.00716.35
7.2.60.0100.01116.30
7.2.50.0150.00916.30
7.2.40.0130.00916.37
7.2.30.0090.01216.30
7.2.20.0130.01216.26
7.2.10.0080.01216.23
7.2.00.0120.00916.25

preferences:
68.54 ms | 401 KiB | 5 Q