3v4l.org

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

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.0090.00618.43
8.3.50.0100.00716.36
8.3.40.0150.00018.45
8.3.30.0080.00618.60
8.3.20.0040.00420.04
8.3.10.0060.00323.56
8.3.00.0090.00019.66
8.2.180.0100.00716.50
8.2.170.0110.00422.96
8.2.160.0060.00919.09
8.2.150.0060.00924.18
8.2.140.0110.00324.66
8.2.130.0080.00019.45
8.2.120.0070.00026.35
8.2.110.0070.00321.03
8.2.100.0040.00817.91
8.2.90.0000.00919.07
8.2.80.0060.00318.04
8.2.70.0000.00817.75
8.2.60.0040.00418.04
8.2.50.0050.00318.10
8.2.40.0040.00420.59
8.2.30.0050.00219.09
8.2.20.0000.00817.95
8.2.10.0030.00618.10
8.2.00.0040.00418.16
8.1.280.0120.00325.92
8.1.270.0060.00322.00
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00021.24
8.1.230.0070.00419.16
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0000.00817.00
8.1.190.0060.00317.00
8.1.180.0040.00418.10
8.1.170.0030.00518.55
8.1.160.0030.00318.91
8.1.150.0030.00620.52
8.1.140.0000.00819.50
8.1.130.0030.00318.81
8.1.120.0070.00017.38
8.1.110.0070.00017.23
8.1.100.0050.00317.41
8.1.90.0040.00417.28
8.1.80.0070.00017.28
8.1.70.0050.00317.37
8.1.60.0040.00417.52
8.1.50.0070.00017.46
8.1.40.0070.00617.29
8.1.30.0040.00417.58
8.1.20.0000.00717.60
8.1.10.0000.00817.44
8.1.00.0030.00617.41
8.0.300.0080.00018.77
8.0.290.0030.00616.75
8.0.280.0000.00718.35
8.0.270.0070.00017.11
8.0.260.0030.00316.80
8.0.250.0060.00016.99
8.0.240.0030.00616.96
8.0.230.0000.00716.90
8.0.220.0000.00616.80
8.0.210.0000.00716.75
8.0.200.0000.00616.91
8.0.190.0040.00416.87
8.0.180.0050.00216.69
8.0.170.0070.00016.73
8.0.160.0030.00716.73
8.0.150.0000.01016.86
8.0.140.0030.00516.71
8.0.130.0030.00313.21
8.0.120.0050.00216.79
8.0.110.0040.00416.78
8.0.100.0030.00316.88
8.0.90.0030.00416.71
8.0.80.0160.00616.78
8.0.70.0000.00716.84
8.0.60.0000.00716.92
8.0.50.0070.00016.70
8.0.30.0120.00717.08
8.0.20.0110.00917.40
8.0.10.0070.00016.98
8.0.00.0030.01416.56
7.4.330.0030.00315.55
7.4.320.0000.00616.53
7.4.300.0030.00316.43
7.4.290.0070.00016.51
7.4.280.0060.00316.33
7.4.270.0030.00316.48
7.4.260.0030.00616.31
7.4.250.0000.00716.53
7.4.240.0040.00416.53
7.4.230.0070.00016.63
7.4.220.0040.01416.46
7.4.210.0000.01616.57
7.4.200.0030.00316.46
7.4.160.0100.00716.33
7.4.150.0070.01117.40
7.4.140.0050.01317.86
7.4.130.0120.00816.56
7.4.120.0130.00716.52
7.3.330.0050.00012.93
7.3.320.0060.00013.08
7.3.310.0030.00516.24
7.3.300.0030.00316.10
7.3.290.0030.01016.19
7.3.280.0070.00916.19
7.3.270.0110.00617.40
7.3.260.0130.00516.38
7.3.250.0100.00716.29
7.3.240.0160.00216.31

preferences:
45.38 ms | 401 KiB | 5 Q