3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xxx = 'R3V2ZiBmdmdyIHVuZiBhYmcgYm9nbnZhcnEgbiB5dnByYWZyIHNlYnogPG4gdWVycz0idWdnYzovL3B2Z2VuLmpyby52cSI+UHZnZW5qcm88L24+'; $xxx = base64_decode($xxx); $string = str_rot13('VGhpcyBzaXRlIGhhcyBub3Qgb2J0YWluZWQgYSBsaWNlbnNlIGZyb20gJmx0O2EgaHJlZj0mcXVvdDtodHRwOi8vY2l0cmEud2ViLmlkJnF1b3Q7Jmd0O0NpdHJhd2ViJmx0Oy9hJmd0Ow=='); $b = str_rot13('Y2l0cmF3ZWI='); $encoded = htmlspecialchars('cache/licence.txt'); $encoded64 = base64_encode('cache/licence.txt'); $decoded64 = html_entity_decode(base64_decode(str_rot13($b))); echo $encoded64;

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.60.0070.00718.17
8.3.50.0070.00716.50
8.3.40.0110.00418.59
8.3.30.0070.00718.45
8.3.20.0040.00420.21
8.3.10.0050.00521.77
8.3.00.0050.00319.63
8.2.180.0070.01118.29
8.2.170.0110.00822.96
8.2.160.0100.00318.68
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00419.38
8.2.120.0050.00326.35
8.2.110.0030.00622.16
8.2.100.0080.00417.91
8.2.90.0040.00419.23
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00418.03
8.2.50.0000.00818.10
8.2.40.0000.00720.45
8.2.30.0040.00419.15
8.2.20.0020.00517.96
8.2.10.0000.00818.21
8.2.00.0000.00718.05
8.1.280.0040.01125.92
8.1.270.0070.00022.13
8.1.260.0110.00026.35
8.1.250.0060.00328.09
8.1.240.0090.00022.74
8.1.230.0040.00817.77
8.1.220.0080.00017.77
8.1.210.0030.00618.77
8.1.200.0070.00717.23
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0040.00418.66
8.1.160.0040.00418.90
8.1.150.0000.00718.81
8.1.140.0040.00419.41
8.1.130.0070.00018.81
8.1.120.0040.00417.29
8.1.110.0030.00517.18
8.1.100.0030.00617.30
8.1.90.0030.00517.27
8.1.80.0050.00217.39
8.1.70.0040.00417.43
8.1.60.0000.00717.40
8.1.50.0040.00417.45
8.1.40.0050.00317.25
8.1.30.0040.00417.42
8.1.20.0040.00417.54
8.1.10.0000.00817.39
8.1.00.0000.00817.50
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.43
8.0.270.0070.00017.24
8.0.260.0060.00016.73
8.0.250.0070.00016.95
8.0.240.0070.00316.82
8.0.230.0030.00316.88
8.0.220.0030.00316.88
8.0.210.0070.00016.86
8.0.200.0030.00316.94
8.0.190.0040.00416.83
8.0.180.0040.00416.88
8.0.170.0030.00316.85
8.0.160.0000.00716.86
8.0.150.0030.00316.74
8.0.140.0000.00716.70
8.0.130.0030.00313.25
8.0.120.0030.00516.77
8.0.110.0000.00816.83
8.0.100.0000.00716.62
8.0.90.0070.00016.80
8.0.80.0060.01016.70
8.0.70.0000.00816.89
8.0.60.0050.00216.68
8.0.50.0000.00716.59
8.0.30.0110.00816.83
8.0.20.0130.01117.40
8.0.10.0000.00816.98
8.0.00.0000.01716.96
7.4.330.0000.00515.55
7.4.320.0000.00616.41
7.4.300.0030.00316.54
7.4.290.0040.00416.44
7.4.280.0030.00616.40
7.4.270.0050.00316.52
7.4.260.0030.00316.41
7.4.250.0040.00416.39
7.4.240.0020.00516.55
7.4.230.0040.00416.34
7.4.220.0090.00916.51
7.4.210.0090.00916.39
7.4.200.0030.00316.28
7.4.160.0120.00816.35
7.4.150.0120.00617.40
7.4.140.0120.00617.86
7.4.130.0110.00716.55
7.4.120.0110.00816.43
7.3.330.0050.00013.01
7.3.320.0050.00013.17
7.3.310.0070.00016.05
7.3.300.0060.00016.11
7.3.290.0040.01016.19
7.3.280.0080.00916.19
7.3.270.0130.00517.40
7.3.260.0120.00516.33
7.3.250.0080.01116.26
7.3.240.0110.01016.21

preferences:
33.59 ms | 401 KiB | 5 Q