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 $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.0100.00318.43
8.3.50.0070.00716.48
8.3.40.0120.00318.67
8.3.30.0070.00718.67
8.3.20.0110.00320.13
8.3.10.0070.00321.73
8.3.00.0040.00419.56
8.2.180.0210.00018.29
8.2.170.0140.00722.96
8.2.160.0080.00819.04
8.2.150.0080.00024.18
8.2.140.0030.00724.66
8.2.130.0040.00421.12
8.2.120.0100.00326.35
8.2.110.0090.00020.43
8.2.100.0080.00317.72
8.2.90.0000.00919.10
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0050.00317.93
8.2.50.0040.00418.10
8.2.40.0000.00820.55
8.2.30.0000.00719.30
8.2.20.0000.00718.09
8.2.10.0000.00718.09
8.2.00.0040.00418.02
8.1.280.0080.00625.92
8.1.270.0020.00522.25
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0040.00722.08
8.1.230.0070.00423.86
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0050.00317.23
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0030.00518.87
8.1.150.0040.00418.84
8.1.140.0000.00719.54
8.1.130.0000.00718.77
8.1.120.0070.00017.31
8.1.110.0060.00317.28
8.1.100.0000.00817.41
8.1.90.0000.00817.41
8.1.80.0000.00817.46
8.1.70.0030.00317.27
8.1.60.0080.00017.45
8.1.50.0000.00817.51
8.1.40.0040.00417.46
8.1.30.0040.00417.53
8.1.20.0040.00417.59
8.1.10.0000.00717.59
8.1.00.0000.00717.49
8.0.300.0000.00718.77
8.0.290.0030.00616.88
8.0.280.0030.00318.32
8.0.270.0000.00717.34
8.0.260.0030.00316.75
8.0.250.0000.00616.96
8.0.240.0060.00617.03
8.0.230.0040.00416.79
8.0.220.0030.00316.70
8.0.210.0030.00616.85
8.0.200.0030.00316.77
8.0.190.0050.00516.91
8.0.180.0030.00316.75
8.0.170.0030.00316.83
8.0.160.0000.00816.84
8.0.150.0000.00716.74
8.0.140.0000.00716.82
8.0.130.0030.00313.22
8.0.120.0040.00416.79
8.0.110.0040.00416.64
8.0.100.0040.00416.82
8.0.90.0000.00816.91
8.0.80.0070.01516.87
8.0.70.0000.00816.66
8.0.60.0070.00016.80
8.0.50.0080.00016.72
8.0.30.0060.01116.99
8.0.20.0090.01817.40
8.0.10.0040.00416.76
8.0.00.0070.01016.66
7.4.330.0050.00015.55
7.4.320.0000.00716.36
7.4.300.0030.00316.55
7.4.290.0000.00816.43
7.4.280.0040.00416.44
7.4.270.0000.00816.51
7.4.260.0000.00716.48
7.4.250.0000.00716.41
7.4.240.0030.00316.37
7.4.230.0000.00716.66
7.4.220.0070.01016.50
7.4.210.0060.00916.50
7.4.200.0070.00016.43
7.4.160.0050.01116.33
7.4.150.0040.01417.40
7.4.140.0060.01217.86
7.4.130.0110.00816.38
7.4.120.0100.01016.47
7.3.330.0050.00013.09
7.3.320.0000.00613.18
7.3.310.0030.00316.24
7.3.300.0040.00416.16
7.3.290.0040.00916.27
7.3.280.0120.01016.21
7.3.270.0150.00317.40
7.3.260.0120.00816.33
7.3.250.0150.00316.25
7.3.240.0040.01416.35

preferences:
50.16 ms | 401 KiB | 5 Q