3v4l.org

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

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.3.110.0070.01014.55
7.3.100.0130.00314.48
7.3.90.0090.00614.46
7.3.80.0120.00514.47
7.3.70.0090.00914.55
7.3.60.0070.00714.56
7.3.50.0060.00914.79
7.3.40.0060.00914.78
7.3.30.0100.00714.62
7.3.20.0070.01014.49
7.3.10.0130.00314.65
7.3.00.0470.00814.63
7.2.240.0120.00314.94
7.2.230.0090.01114.79
7.2.220.0060.01214.84
7.2.210.0070.01314.56
7.2.200.0000.01814.88
7.2.190.0080.00814.56
7.2.180.0070.01314.67
7.2.170.0060.00914.72
7.2.160.0030.01614.76
7.2.150.0070.01414.68
7.2.140.0140.00414.96
7.2.130.0270.00914.81
7.2.120.0160.01414.88
7.2.110.0150.01214.78
7.2.100.0210.00614.77
7.2.90.0190.00814.74
7.2.80.0670.01014.72
7.2.70.0360.00914.70
7.2.60.0440.00614.75
7.2.50.0340.00914.66
7.2.40.0330.01115.47
7.2.30.0660.00915.38
7.2.20.0500.01115.35
7.2.10.0520.00915.58
7.2.00.0220.00815.64
7.1.330.0090.00913.64
7.1.320.0090.00613.71
7.1.310.0150.00413.77
7.1.300.0060.01213.79
7.1.290.0190.01213.56
7.1.280.0090.00613.98
7.1.270.0070.01013.95
7.1.260.0070.01113.70
7.1.250.0190.00613.90
7.1.240.0170.01113.65
7.1.230.0180.00613.65
7.1.220.0190.00813.73
7.1.210.0180.00713.74
7.1.200.0350.00913.78
7.1.190.0290.00613.73
7.1.180.0410.00813.75
7.1.170.0340.00713.55
7.1.160.0680.00614.37
7.1.150.0340.00714.44
7.1.140.0640.00814.48
7.1.130.0500.00814.39
7.1.120.0560.00514.55
7.1.110.0590.00814.25
7.1.100.0580.00814.07
7.1.90.0520.00914.23
7.1.80.0550.00614.24
7.1.70.0430.00914.00
7.1.60.0640.00922.92
7.1.50.0830.01022.92
7.1.40.0480.01122.93
7.1.30.0530.00822.78
7.1.20.0660.00922.89
7.1.10.0380.00913.86
7.1.00.0630.00814.01
7.0.330.0080.01113.38
7.0.320.0220.00613.27
7.0.310.0320.00513.28
7.0.300.0510.00413.44
7.0.290.0630.00714.02
7.0.280.0220.01313.32
7.0.270.0260.00614.06
7.0.260.0390.00513.93
7.0.250.0520.00913.93
7.0.240.0640.00813.99
7.0.230.0700.00913.89
7.0.220.0660.00914.01
7.0.210.0570.01013.66
7.0.200.0370.00713.59
7.0.190.0530.00813.59
7.0.180.0620.00913.54
7.0.170.0370.00913.44
7.0.160.0550.00713.48
7.0.150.0390.00813.49
7.0.140.0630.00713.50
7.0.130.0650.00713.62
7.0.120.0610.01113.75
7.0.110.0600.01013.54
7.0.100.0620.00813.62
7.0.90.0690.00913.61
7.0.80.0470.00613.63
7.0.70.0570.00713.63
7.0.60.0500.00713.62
7.0.50.0530.00913.71
7.0.40.0490.00813.72
7.0.30.0810.00613.67
7.0.20.0460.00713.69
7.0.10.0690.00413.65
7.0.00.0810.00913.52
5.6.400.0120.00314.21
5.6.390.0090.00614.11
5.6.380.0060.01014.30

preferences:
34.46 ms | 400 KiB | 5 Q