3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i=0;$i<10000;$i++) { echo mt_rand(1, PHP_INT_MAX)."\n"; }

Abusive script

This script was stopped while abusing our resources

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.30.0180.01122.96
8.3.20.0160.01022.96
8.3.10.0120.01522.96
8.3.00.0170.01022.96
8.2.160.0190.00622.96
8.2.150.0150.00722.96
8.2.140.0160.00922.96
8.2.130.0190.00022.96
8.2.120.0250.01122.96
8.2.110.0340.01321.75
8.2.100.0210.00821.09
8.2.90.0140.00720.90
8.2.80.0200.01020.76
8.2.70.0170.00820.81
8.2.60.0140.00720.75
8.2.50.0200.00820.81
8.2.40.0320.01220.70
8.2.30.0140.00320.83
8.2.20.0110.01220.82
8.2.10.0210.00720.94
8.2.00.0170.01120.94
8.1.270.0160.01222.96
8.1.260.0100.01422.96
8.1.250.0260.01722.96
8.1.240.0130.01020.76
8.1.230.0110.00720.79
8.1.220.0140.00820.65
8.1.210.0160.00019.88
8.1.200.0120.00318.38
8.1.190.0120.00318.44
8.1.180.0180.00018.23
8.1.170.0350.01218.38
8.1.160.0300.01118.68
8.1.150.0330.01120.27
8.1.140.0300.00918.44
8.1.130.0400.00918.63
8.1.120.0080.00818.48
8.1.110.0110.00418.62
8.1.100.0150.00918.61
7.4.50.0320.00716.33
7.4.40.0520.02116.21
7.4.30.0250.01516.23
7.4.20.0260.01916.22
7.4.10.0190.01615.92
7.4.00.0320.01815.84
7.3.170.0250.01116.34
7.3.160.0230.02016.24
7.3.150.0300.01916.23
7.3.140.0290.01416.26
7.3.130.0280.01415.86
7.3.120.0220.01415.81
7.3.110.0250.01515.36
7.3.100.0190.01415.30
7.3.90.0230.01315.19
7.3.80.0260.01415.14
7.3.70.0230.01215.09
7.3.60.0200.01414.99
7.3.50.0210.01214.69
7.3.40.0160.01214.66
7.3.30.0180.01014.60
7.3.20.0300.01414.85
7.3.10.0380.01114.83
7.3.00.0520.01014.91
7.2.340.0180.00317.16
7.2.290.0200.02116.40
7.2.280.0470.02016.33
7.2.270.0330.01816.50
7.2.260.0180.01516.17
7.2.250.0320.01716.03
7.2.240.0170.01515.65
7.2.230.0290.01615.66
7.2.220.0240.01615.48
7.2.210.0260.01715.34
7.2.200.0200.01515.30
7.2.190.0270.01415.24
7.2.180.0160.01515.06
7.2.170.0190.01214.88
7.2.160.0150.01314.94
7.2.150.0330.01315.26
7.2.140.0230.01115.18
7.2.130.0640.01115.08
7.2.120.0390.01015.14
7.2.110.0380.00915.09
7.2.100.0780.01114.77
7.2.90.1220.01014.81
7.2.80.0840.01014.86
7.2.70.0820.01114.88
7.2.60.0860.01214.96
7.2.50.0870.00914.83
7.2.40.0540.00914.80
7.1.330.0350.01614.86
7.1.320.0250.01514.69
7.1.310.0280.01314.57
7.1.300.0290.01415.23
7.1.290.0200.01213.92
7.1.280.0210.01314.11
7.1.270.0500.01013.96
7.1.260.0540.01014.14
7.1.250.0470.00914.03
7.1.240.0530.00913.88
7.1.230.0570.01213.75
7.1.220.0650.01213.71
7.1.210.1000.01313.74
7.1.200.0760.01113.78
7.1.190.0990.01313.78
7.1.180.0390.01613.73
7.1.170.0540.01113.81
7.1.160.0780.01813.75
7.0.330.0420.01513.68
7.0.320.0550.01213.52
7.0.310.0780.01113.50
7.0.300.0550.01313.51
5.6.400.0160.01315.23
5.6.390.0190.00914.29
5.6.380.0170.00914.15
5.6.370.0220.01314.35
5.6.360.0200.01414.24
5.6.200.0180.00514.29
5.6.190.0220.01414.10

preferences:
33.21 ms | 403 KiB | 5 Q