3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(base64_encode(random_bytes(40)));

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)
7.2.90.0120.00914.52
7.2.80.0130.00714.29
7.2.70.1270.01214.72
7.2.60.1440.00714.47
7.2.50.0060.01214.72
7.2.40.0540.01014.79
7.2.30.0330.00014.73
7.2.20.1400.00314.55
7.2.10.0660.00914.81
7.2.00.0140.00614.59
7.1.210.0740.00013.54
7.1.200.0650.00313.71
7.1.190.1280.00713.88
7.1.180.0340.00913.52
7.1.170.0100.00513.79
7.1.160.0060.01213.54
7.1.150.1540.00313.54
7.1.140.0000.01613.66
7.1.130.0150.00613.86
7.1.120.0530.00613.85
7.1.110.0140.00713.97
7.1.100.0090.00613.89
7.1.90.0460.00413.95
7.1.80.0060.00913.53
7.1.70.0110.00813.50
7.1.60.0330.00631.71
7.1.50.0930.00931.85
7.1.40.0200.01331.72
7.1.30.0330.01031.75
7.1.20.2150.01931.53
7.1.10.1050.01013.73
7.1.00.0350.00913.73
7.0.310.0120.00413.30
7.0.300.1290.01013.05
7.0.290.1570.01012.99
7.0.280.0130.00313.05
7.0.270.0060.01213.51
7.0.260.0100.00713.39
7.0.250.0760.00713.42
7.0.240.2060.00313.16
7.0.230.0740.00713.17
7.0.220.0030.00913.20
7.0.210.0160.00613.62
7.0.200.0300.00613.65
7.0.190.0440.00613.54
7.0.180.0060.00613.66
7.0.170.0880.00613.50
7.0.160.1770.00313.54
7.0.150.0070.01713.38
7.0.140.0660.00313.57
7.0.130.0120.00613.41
7.0.120.1600.00613.35
7.0.110.1560.01613.50
7.0.100.0120.00413.46
7.0.90.0100.00713.39
7.0.80.0110.00313.39
7.0.70.0090.00613.47
7.0.60.0140.00313.52
7.0.50.1790.00013.52
7.0.40.1880.01013.29
7.0.30.1760.00713.61
7.0.20.2370.00713.20
7.0.10.0040.01213.28
7.0.00.0900.01313.55

preferences:
24.63 ms | 403 KiB | 5 Q