3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (sort(array(1,1,0,0)) === sort(array(true,0,false,1))) ? 'yes' : 'no';

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.70.0170.00316.75
8.3.60.0140.00718.56
8.3.50.0070.00921.08
8.3.40.0090.00618.84
8.3.30.0100.00320.14
8.3.20.0060.00320.61
8.3.10.0050.00320.98
8.3.00.0040.00423.66
8.2.180.0170.00316.50
8.2.170.0070.01022.96
8.2.160.0070.00720.47
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0070.00021.05
8.2.110.0060.00322.25
8.2.100.0070.00318.83
8.1.280.0060.00925.92
8.1.270.0180.00023.99
8.1.260.0000.00726.35
8.1.250.0120.00328.09
8.1.240.0030.00618.53
8.1.230.0090.00018.64
5.4.280.0130.08212.34
5.4.270.0230.08112.34
5.4.260.0140.07612.34
5.4.250.0140.07612.34
5.4.240.0120.07312.34
5.4.230.0100.06812.33
5.4.220.0130.07612.34
5.4.210.0050.04612.33
5.4.200.0090.04312.33
5.4.190.0090.04412.33
5.4.180.0070.04912.33
5.4.170.0090.04712.34
5.4.160.0090.04712.34
5.4.150.0100.05112.33
5.4.140.0100.05512.02
5.4.130.0140.06212.00
5.4.120.0090.04811.96
5.4.110.0110.04311.96
5.4.100.0100.04911.96
5.4.90.0100.04611.96
5.4.80.0090.04511.96
5.4.70.0100.04611.95
5.4.60.0070.04711.96
5.4.50.0070.04711.96
5.4.40.0070.04811.95
5.4.30.0080.04711.94
5.4.20.0090.04711.94
5.4.10.0090.04811.94
5.4.00.0120.04711.44
5.3.280.0090.06012.71
5.3.270.0230.08812.72
5.3.260.0090.05712.72
5.3.250.0090.04612.72
5.3.240.0090.04512.72
5.3.230.0070.04712.71
5.3.220.0100.08312.68
5.3.210.0110.04612.68
5.3.200.0110.04312.68
5.3.190.0080.04712.68
5.3.180.0060.04712.68
5.3.170.0100.04912.67
5.3.160.0110.05412.67
5.3.150.0100.05212.67
5.3.140.0070.05312.66
5.3.130.0120.05112.66
5.3.120.0060.05512.66
5.3.110.0100.06912.66
5.3.100.0070.04712.12
5.3.90.0100.04712.08
5.3.80.0120.04912.07
5.3.70.0120.04812.07
5.3.60.0120.05812.06
5.3.50.0100.05412.00
5.3.40.0070.05412.00
5.3.30.0080.04311.94
5.3.20.0100.04211.71
5.3.10.0090.04211.68
5.3.00.0070.04511.67
5.2.170.0050.0369.16
5.2.160.0130.0329.16
5.2.150.0160.0499.16
5.2.140.0050.0439.16
5.2.130.0050.0389.12
5.2.120.0080.0359.12
5.2.110.0060.0369.13
5.2.100.0060.0359.12
5.2.90.0070.0369.12
5.2.80.0070.0389.12
5.2.70.0070.0399.12
5.2.60.0110.0429.07
5.2.50.0080.0389.04
5.2.40.0090.0339.02
5.2.30.0110.0369.00
5.2.20.0050.0408.98
5.2.10.0070.0368.91
5.2.00.0090.0368.77
5.1.60.0090.0308.05
5.1.50.0060.0398.05
5.1.40.0050.0328.04
5.1.30.0080.0328.38
5.1.20.0070.0358.41
5.1.10.0120.0348.13
5.1.00.0050.0348.13
5.0.50.0050.0256.61
5.0.40.0100.0386.47
5.0.30.0050.0386.28
5.0.20.0070.0236.25
5.0.10.0070.0236.23
5.0.00.0070.0346.22
4.4.90.0040.0194.78
4.4.80.0060.0164.75
4.4.70.0050.0184.75
4.4.60.0040.0194.76
4.4.50.0060.0214.77
4.4.40.0040.0334.71
4.4.30.0050.0194.76
4.4.20.0070.0214.84
4.4.10.0050.0214.85
4.4.00.0050.0284.76
4.3.110.0040.0194.67
4.3.100.0050.0184.66
4.3.90.0040.0194.63
4.3.80.0040.0284.58
4.3.70.0050.0164.63
4.3.60.0040.0184.63
4.3.50.0040.0194.63
4.3.40.0040.0294.54
4.3.30.0020.0213.28
4.3.20.0040.0183.25
4.3.10.0030.0193.21
4.3.00.0000.0237.13

preferences:
33.7 ms | 401 KiB | 5 Q