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_decode('VGhpcyBzaXRlIGhhcyBub3Qgb2J0YWluZWQgYSBsaWNlbnNlIGZyb20gJmx0O2EgaHJlZj0mcXVvdDtodHRwOi8vY2l0cmEud2ViLmlkJnF1b3Q7Jmd0O0NpdHJhd2ViJmx0Oy9hJmd0Ow=='); $decoded64 = html_entity_decode(base64_decode(str_rot13(str_rot13('Y2FjaGUvbGljZW5jZS50eHQ=')))); echo html_entity_decode(base64_decode(str_rot13(str_rot13('Y2FjaGUvbGljZW5jZS50eHQ='))));

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.0040.01118.18
8.3.50.0150.00016.27
8.3.40.0030.01018.67
8.3.30.0040.01518.53
8.3.20.0000.00820.21
8.3.10.0030.00621.67
8.3.00.0000.00919.56
8.2.180.0120.00918.41
8.2.170.0100.01022.96
8.2.160.0100.01019.07
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00019.32
8.2.120.0000.00726.35
8.2.110.0030.01320.52
8.2.100.0060.00617.91
8.2.90.0060.00317.63
8.2.80.0000.00817.97
8.2.70.0000.00818.05
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0040.00420.42
8.2.30.0040.00419.28
8.2.20.0070.00018.04
8.2.10.0000.00818.05
8.2.00.0070.00018.11
8.1.280.0070.00725.92
8.1.270.0040.00422.19
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0110.00023.84
8.1.230.0080.00423.66
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0070.00317.11
8.1.190.0050.00317.22
8.1.180.0090.00018.10
8.1.170.0040.00418.77
8.1.160.0050.00319.06
8.1.150.0050.00318.82
8.1.140.0040.00419.51
8.1.130.0030.00318.82
8.1.120.0020.00517.29
8.1.110.0090.00017.41
8.1.100.0080.00017.29
8.1.90.0040.00417.41
8.1.80.0000.00717.47
8.1.70.0000.00717.38
8.1.60.0000.00717.50
8.1.50.0030.00517.45
8.1.40.0050.00317.42
8.1.30.0090.00017.63
8.1.20.0040.00417.58
8.1.10.0060.00317.40
8.1.00.0040.00417.48
8.0.300.0040.00419.66
8.0.290.0030.00616.75
8.0.280.0030.00318.44
8.0.270.0040.00417.24
8.0.260.0000.00816.82
8.0.250.0050.00316.92
8.0.240.0100.00216.91
8.0.230.0070.00016.89
8.0.220.0050.00216.71
8.0.210.0050.00216.79
8.0.200.0030.00316.77
8.0.190.0040.00416.75
8.0.180.0040.00416.89
8.0.170.0000.00816.89
8.0.160.0040.00416.75
8.0.150.0000.00716.76
8.0.140.0070.00016.68
8.0.130.0040.00413.21
8.0.120.0040.00416.79
8.0.110.0040.00416.74
8.0.100.0040.00416.68
8.0.90.0070.00016.79
8.0.80.0120.01116.82
8.0.70.0040.00416.88
8.0.60.0070.00016.80
8.0.50.0000.00816.83
8.0.30.0080.00717.18
8.0.20.0110.01117.40
8.0.10.0070.00017.01
8.0.00.0100.00716.69
7.4.330.0030.00315.55
7.4.320.0000.00616.55
7.4.300.0060.00016.56
7.4.290.0000.00716.51
7.4.280.0080.00016.34
7.4.270.0000.00716.39
7.4.260.0070.00016.33
7.4.250.0050.00316.51
7.4.240.0040.00416.52
7.4.230.0030.00316.42
7.4.220.0000.01816.64
7.4.210.0090.00916.52
7.4.200.0000.00716.60
7.4.160.0110.00516.43
7.4.150.0140.00417.40
7.4.140.0120.00517.86
7.4.130.0130.00616.51
7.4.120.0080.01316.45
7.3.330.0050.00012.97
7.3.320.0030.00313.04
7.3.310.0000.00716.20
7.3.300.0000.00716.13
7.3.290.0080.00916.12
7.3.280.0080.00916.12
7.3.270.0090.00917.40
7.3.260.0120.00516.19
7.3.250.0110.00816.14
7.3.240.0120.00516.16

preferences:
50.31 ms | 400 KiB | 5 Q