3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = [ '3' , '2', '1' ]; rsort($test); array_walk($test, 'intval'); var_dump($test);

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.01018.30
8.3.50.0140.00416.36
8.3.40.0090.00918.42
8.3.30.0060.00918.42
8.3.20.0040.00420.21
8.3.10.0080.00021.72
8.3.00.0040.00819.26
8.2.180.0140.00318.16
8.2.170.0040.01422.96
8.2.160.0130.00020.39
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0000.00722.19
8.2.120.0000.01126.35
8.2.110.0030.00719.20
8.2.100.0060.00617.76
8.2.90.0000.00818.93
8.2.80.0040.00419.12
8.2.70.0050.00317.50
8.2.60.0000.00917.93
8.2.50.0040.00418.16
8.2.40.0000.00920.51
8.2.30.0040.00419.19
8.2.20.0000.00718.02
8.2.10.0070.00018.11
8.2.00.0000.00818.15
8.1.280.0150.00625.92
8.1.270.0030.00620.33
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00322.29
8.1.230.0040.00717.70
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01017.23
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0000.00818.56
8.1.160.0040.00418.86
8.1.150.0040.00418.69
8.1.140.0040.00417.63
8.1.130.0000.00818.99
8.1.120.0020.00517.36
8.1.110.0040.00417.39
8.1.100.0000.00817.39
8.1.90.0020.00517.42
8.1.80.0070.00417.27
8.1.70.0030.00317.36
8.1.60.0050.00317.46
8.1.50.0000.00717.46
8.1.40.0000.00817.46
8.1.30.0050.00317.54
8.1.20.0040.00417.59
8.1.10.0000.00817.54
8.1.00.0030.00617.30
8.0.300.0020.00518.77
8.0.290.0040.00416.75
8.0.280.0000.00718.29
8.0.270.0040.00417.09
8.0.260.0040.00418.44
8.0.250.0030.00316.85
8.0.240.0050.00316.89
8.0.230.0050.00316.89
8.0.220.0030.00316.71
8.0.210.0100.00016.82
8.0.200.0030.00316.87
8.0.190.0040.00416.79
8.0.180.0000.00716.73
8.0.170.0000.00816.84
8.0.160.0040.00416.72
8.0.150.0030.00316.77
8.0.140.0040.00416.78
8.0.130.0060.00013.18
8.0.120.0000.00816.68
8.0.110.0060.00316.80
8.0.100.0040.00316.88
8.0.90.0040.00416.60
8.0.80.0030.01316.87
8.0.70.0000.00716.72
8.0.60.0070.00016.72
8.0.50.0080.00016.76
8.0.30.0070.01117.06
8.0.20.0080.01117.40
8.0.10.0040.00417.00
8.0.00.0090.00916.68
7.4.330.0050.00015.55
7.4.320.0030.00316.48
7.4.300.0000.00616.29
7.4.290.0000.00716.52
7.4.280.0070.00016.42
7.4.270.0000.00816.49
7.4.260.0000.00916.40
7.4.250.0000.01016.44
7.4.240.0030.00316.52
7.4.230.0030.00316.53
7.4.220.0080.00016.33
7.4.210.0090.00516.47
7.4.200.0070.00016.41
7.4.160.0100.00816.29
7.4.150.0120.00417.40
7.4.140.0070.01217.86
7.4.130.0100.00716.33
7.4.120.0090.01016.40
7.4.110.0180.00316.43
7.4.100.0160.00016.34
7.4.90.0100.00716.35
7.4.80.0090.01219.39
7.4.70.0130.00616.40
7.4.60.0060.01116.58
7.4.50.0120.00316.18
7.4.40.0100.01016.17
7.4.00.0110.00414.71
7.3.330.0000.00513.07
7.3.320.0030.00313.01
7.3.310.0030.00316.20
7.3.300.0000.00616.16
7.3.290.0000.00716.13
7.3.280.0140.00016.18
7.3.270.0040.01317.40
7.3.260.0100.01216.30
7.3.250.0120.00516.10
7.3.240.0140.00516.25
7.3.230.0100.00716.32
7.3.210.0070.01016.20
7.3.200.0110.00516.30
7.3.190.0110.00616.23
7.3.180.0090.00616.39
7.3.170.0100.00616.23
7.3.160.0030.01316.19
7.2.330.0030.01616.20
7.2.320.0150.00316.27
7.2.310.0110.00516.43
7.2.300.0090.00816.17
7.2.290.0110.00716.61
7.2.60.0030.00916.52
7.2.10.0170.02017.30
7.2.00.0190.01317.67
7.1.200.0140.00015.60
7.1.130.0230.00816.41
7.1.120.0340.00916.27
7.1.110.0350.01315.97
7.1.100.0260.00315.89
7.1.90.0290.00615.89
7.1.80.0210.01116.24
7.1.70.0260.00315.37
7.1.60.0350.01633.11
7.1.50.0280.01532.85
7.1.40.0260.01932.61
7.1.30.0260.01632.73
7.1.20.0340.01032.40
7.1.10.0220.00914.58
7.1.00.0220.00714.72

preferences:
63.07 ms | 401 KiB | 5 Q