3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xxx = 'R3V2ZiBmdmdyIHVuZiBhYmcgYm9nbnZhcnEgbiB5dnByYWZyIHNlYnogPG4gdWVycz0idWdnYzovL3B2Z2VuLmpyby52cSI+UHZnZW5qcm88L24+'; $xxx = base64_decode($xxx); $string = str_rot13('VGhpcyBzaXRlIGhhcyBub3Qgb2J0YWluZWQgYSBsaWNlbnNlIGZyb20gJmx0O2EgaHJlZj0mcXVvdDtodHRwOi8vY2l0cmEud2ViLmlkJnF1b3Q7Jmd0O0NpdHJhd2ViJmx0Oy9hJmd0Ow=='); $b = str_rot13('VGhpcyBzaXRlIGhhcyBub3Qgb2J0YWluZWQgYSBsaWNlbnNlIGZyb20gJmx0O2EgaHJlZj0mcXVvdDtodHRwOi8vY2l0cmEud2ViLmlkJnF1b3Q7Jmd0O0NpdHJhd2ViJmx0Oy9hJmd0Ow=='); $encoded = htmlspecialchars('cache/licence.txt'); $encoded64 = base64_encode('VGhpcyBzaXRlIGhhcyBub3Qgb2J0YWluZWQgYSBsaWNlbnNlIGZyb20gJmx0O2EgaHJlZj0mcXVvdDtodHRwOi8vY2l0cmEud2ViLmlkJnF1b3Q7Jmd0O0NpdHJhd2ViJmx0Oy9hJmd0Ow=='); $decoded64 = html_entity_decode(base64_decode(str_rot13(str_rot13('Y2FjaGUvbGljZW5jZS50eHQ=')))); 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.0100.00318.43
8.3.50.0030.01016.26
8.3.40.0090.00618.71
8.3.30.0070.00718.73
8.3.20.0080.00020.38
8.3.10.0070.00421.83
8.3.00.0040.00419.35
8.2.180.0070.01418.25
8.2.170.0160.00622.96
8.2.160.0120.00918.95
8.2.150.0000.00824.18
8.2.140.0070.00324.66
8.2.130.0040.00419.27
8.2.120.0100.01026.35
8.2.110.0090.00020.33
8.2.100.0000.01317.72
8.2.90.0080.00019.05
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0000.00917.80
8.2.50.0030.00518.10
8.2.40.0000.00820.60
8.2.30.0080.00019.17
8.2.20.0000.00717.96
8.2.10.0040.00418.18
8.2.00.0040.00418.03
8.1.280.0000.01525.92
8.1.270.0040.00422.19
8.1.260.0070.00026.35
8.1.250.0110.00428.09
8.1.240.0060.00322.72
8.1.230.0100.00017.83
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0060.00617.23
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0090.00020.22
8.1.160.0040.00418.89
8.1.150.0030.00518.82
8.1.140.0030.00619.52
8.1.130.0000.00718.79
8.1.120.0070.00017.27
8.1.110.0040.00417.28
8.1.100.0040.00417.35
8.1.90.0070.00017.31
8.1.80.0030.00417.44
8.1.70.0070.00017.36
8.1.60.0000.00817.51
8.1.50.0000.00817.48
8.1.40.0000.00817.34
8.1.30.0040.00417.61
8.1.20.0080.00017.55
8.1.10.0040.00417.48
8.1.00.0050.00217.47
8.0.300.0050.00318.77
8.0.290.0040.00416.63
8.0.280.0040.00418.45
8.0.270.0030.00317.22
8.0.260.0050.00316.82
8.0.250.0070.00016.91
8.0.240.0000.01016.93
8.0.230.0040.00416.93
8.0.220.0070.00016.84
8.0.210.0040.00416.82
8.0.200.0040.00416.93
8.0.190.0000.00816.90
8.0.180.0040.00416.88
8.0.170.0040.00416.89
8.0.160.0000.00716.78
8.0.150.0080.00016.84
8.0.140.0050.00316.68
8.0.130.0030.00313.25
8.0.120.0050.00316.65
8.0.110.0000.00716.70
8.0.100.0000.00716.82
8.0.90.0040.00416.73
8.0.80.0060.01016.83
8.0.70.0000.00816.88
8.0.60.0080.00016.69
8.0.50.0040.00416.70
8.0.30.0090.01117.06
8.0.20.0130.00817.40
8.0.10.0000.00716.92
8.0.00.0090.00916.52
7.4.330.0050.00015.55
7.4.320.0000.00616.34
7.4.300.0070.00016.43
7.4.290.0040.00416.42
7.4.280.0070.00016.34
7.4.270.0070.00016.55
7.4.260.0030.00316.48
7.4.250.0030.00316.46
7.4.240.0030.00316.44
7.4.230.0070.00016.46
7.4.220.0120.00616.57
7.4.210.0080.00816.59
7.4.200.0080.00016.46
7.4.160.0020.01316.32
7.4.150.0150.00317.40
7.4.140.0070.01517.86
7.4.130.0100.01016.31
7.4.120.0150.00816.53
7.3.330.0000.00512.95
7.3.320.0020.00212.95
7.3.310.0070.00016.18
7.3.300.0000.00716.23
7.3.290.0050.00916.25
7.3.280.0090.00816.22
7.3.270.0080.02717.40
7.3.260.0110.00616.41
7.3.250.0070.01016.28
7.3.240.0100.00916.16

preferences:
53.71 ms | 401 KiB | 5 Q