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('cache/licence.txt'); $decoded64 = html_entity_decode(base64_decode(str_rot13(str_rot13('Y2FjaGUvbGljZW5jZS50eHQ=')))); echo $b;

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.0110.00318.43
8.3.50.0070.00716.35
8.3.40.0130.00918.70
8.3.30.0090.00618.63
8.3.20.0000.00820.34
8.3.10.0070.00322.02
8.3.00.0040.00419.79
8.2.180.0100.01016.32
8.2.170.0110.01122.96
8.2.160.0000.01418.96
8.2.150.0080.00024.18
8.2.140.0140.00424.66
8.2.130.0030.00519.33
8.2.120.0110.00426.35
8.2.110.0080.00020.52
8.2.100.0090.00317.78
8.2.90.0040.00419.25
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0040.00418.04
8.2.50.0030.00618.10
8.2.40.0000.00720.26
8.2.30.0030.00719.16
8.2.20.0000.00717.98
8.2.10.0000.00718.16
8.2.00.0040.00418.00
8.1.280.0110.00425.92
8.1.270.0040.00421.96
8.1.260.0050.00226.35
8.1.250.0000.00728.09
8.1.240.0090.00022.71
8.1.230.0000.01117.62
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0050.00617.23
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0030.00618.53
8.1.160.0000.00718.95
8.1.150.0020.00518.87
8.1.140.0080.00019.39
8.1.130.0000.00718.71
8.1.120.0000.00717.42
8.1.110.0040.00417.37
8.1.100.0090.00017.29
8.1.90.0030.00317.29
8.1.80.0030.00417.42
8.1.70.0000.00717.45
8.1.60.0080.00017.55
8.1.50.0040.00417.36
8.1.40.0080.00017.40
8.1.30.0050.00317.64
8.1.20.0040.00417.61
8.1.10.0000.00717.55
8.1.00.0030.00617.43
8.0.300.0030.00718.77
8.0.290.0020.00516.63
8.0.280.0030.00618.46
8.0.270.0040.00417.27
8.0.260.0050.00218.37
8.0.250.0000.00616.92
8.0.240.0050.00516.90
8.0.230.0000.00716.85
8.0.220.0000.00716.92
8.0.210.0050.00216.77
8.0.200.0040.00416.91
8.0.190.0060.00316.80
8.0.180.0040.00416.77
8.0.170.0030.00316.73
8.0.160.0040.00416.82
8.0.150.0070.00016.79
8.0.140.0000.00716.70
8.0.130.0030.00313.32
8.0.120.0040.00416.89
8.0.110.0080.00016.88
8.0.100.0000.00716.71
8.0.90.0000.00716.69
8.0.80.0090.01316.79
8.0.70.0040.00416.71
8.0.60.0050.00216.91
8.0.50.0040.00416.96
8.0.30.0110.00717.09
8.0.20.0120.00817.40
8.0.10.0040.00417.07
8.0.00.0110.00616.69
7.4.330.0000.00515.55
7.4.320.0000.00616.56
7.4.300.0060.00016.52
7.4.290.0050.00316.35
7.4.280.0040.00416.36
7.4.270.0030.00316.54
7.4.260.0000.00816.55
7.4.250.0000.00716.53
7.4.240.0080.00016.37
7.4.230.0000.00716.64
7.4.220.0130.01016.57
7.4.210.0060.00916.57
7.4.200.0040.00416.59
7.4.160.0070.01116.54
7.4.150.0060.01317.40
7.4.140.0100.00917.86
7.4.130.0150.00416.33
7.4.120.0130.00616.40
7.3.330.0060.00012.93
7.3.320.0000.00513.07
7.3.310.0040.00416.26
7.3.300.0030.00316.11
7.3.290.0040.01016.18
7.3.280.0070.00916.19
7.3.270.0120.00917.40
7.3.260.0130.00816.31
7.3.250.0080.00916.27
7.3.240.0050.01316.25

preferences:
47.05 ms | 400 KiB | 5 Q