3v4l.org

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

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.00.0170.00718.60
8.2.130.0220.00019.07
8.2.120.0070.01118.95
8.2.110.0080.00920.47
8.2.100.0070.01019.91
8.2.90.0200.00318.68
8.2.80.0150.00718.80
8.2.70.0200.00318.66
8.2.60.0120.00218.60
8.2.50.0070.00519.25
8.2.40.0120.00018.59
8.2.30.0090.00318.57
8.2.20.0120.00018.91
8.2.10.0110.00218.83
8.2.00.0060.00718.73
8.1.270.0040.00422.03
8.1.260.0100.00022.04
8.1.250.0100.00021.86
8.1.240.0100.00318.43
8.1.230.0050.00918.48
8.1.220.0140.00018.35
8.1.210.0100.00319.09
8.1.200.0120.00218.16
8.1.190.0090.00419.06
8.1.180.0100.00518.28
8.1.170.0120.00218.35
8.1.160.0070.00418.40
8.1.150.0100.00320.32
8.1.140.0150.00018.30
8.1.130.0130.00318.52
8.1.120.0100.00318.55
8.1.110.0090.00519.61
8.1.100.0150.00418.14
7.4.60.0090.01516.23
7.4.50.0110.02016.27
7.4.40.0170.01316.15
7.4.30.0120.01516.26
7.4.20.0160.01516.16
7.4.10.0160.01916.29
7.4.00.0150.01715.79
7.3.180.0220.00816.39
7.3.170.0110.01616.03
7.3.160.0180.01415.86
7.3.150.0190.00716.09
7.3.140.0200.00916.07
7.3.130.0200.00616.17
7.3.120.0150.01615.55
7.3.110.0140.01015.55
7.3.100.0150.01215.42
7.3.90.0090.01415.27
7.3.80.0130.01114.86
7.3.70.0130.01714.88
7.3.60.0160.01114.78
7.3.50.0150.01114.96
7.3.40.0160.01214.51
7.3.30.0130.00814.65
7.3.20.0790.01015.24
7.3.10.0700.00715.00
7.3.00.0670.01014.95
7.2.310.0180.01116.68
7.2.300.0170.01516.32
7.2.290.0240.01216.34
7.2.280.0190.00916.25
7.2.270.0100.01616.23
7.2.260.0120.01716.26
7.2.250.0200.02115.77
7.2.240.0150.01515.55
7.2.230.0180.01315.52
7.2.220.0180.01315.33
7.2.210.0130.01215.06
7.2.200.0150.01415.11
7.2.190.0140.01414.98
7.2.180.0110.01215.25
7.2.170.0150.00714.78
7.2.160.0110.01314.78
7.2.150.0670.00815.28
7.2.140.0620.01115.31
7.2.130.0740.00815.15
7.2.120.0780.01015.08
7.2.110.1130.00815.20
7.2.100.0990.00714.90
7.2.90.0710.01114.84
7.2.80.0390.01014.69
7.2.70.0540.01014.82
7.2.60.0400.00914.69
7.2.50.0460.01314.78
7.2.40.0460.01115.89
7.2.30.0530.01316.63
7.2.20.0640.01216.61
7.2.10.0520.01516.54
7.2.00.0690.01216.88
7.1.330.0220.00814.68
7.1.320.0150.01414.18
7.1.310.0180.01314.14
7.1.300.0180.01314.40
7.1.290.0200.00914.65
7.1.280.0210.00814.49
7.1.270.0540.01214.25
7.1.260.0670.00814.27
7.1.250.0660.01014.13
7.1.240.0790.01014.09
7.1.230.1100.00813.74
7.1.220.0900.00713.75
7.1.210.1030.01013.74
7.1.200.0820.01113.77
7.1.190.0440.01213.74
7.1.180.0430.01013.63
7.1.170.0480.01113.75
7.1.160.0770.01715.55
7.1.150.0620.01615.56
7.1.140.0570.01315.57
7.1.130.0580.00915.65
7.1.120.0590.01315.63
7.1.110.0510.01115.19
7.1.100.0700.01315.94
7.1.90.0900.01516.07
7.1.80.1400.01516.08
7.1.70.0730.01315.13
7.0.330.0740.01013.78
7.0.320.0910.01613.52
7.0.310.0680.00813.60
7.0.300.0510.00913.48
7.0.290.0530.01515.32
7.0.270.0690.01515.31
7.0.260.0510.01515.51
7.0.250.0530.01316.05
7.0.240.0810.01115.81
7.0.230.0830.01315.78
7.0.220.0750.00815.70
7.0.140.0930.00613.73
5.6.400.0130.01113.97
5.6.390.0120.01114.05
5.6.380.0150.00914.12
5.6.370.0240.01014.22
5.6.360.0230.01114.23
5.6.200.0230.00514.44
5.6.190.0240.01214.29
5.5.160.0260.00416.53
5.1.50.0110.00922.96

preferences:
28.19 ms | 403 KiB | 5 Q