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($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.0120.00318.55
8.3.50.0140.00716.15
8.3.40.0180.00418.63
8.3.30.0090.00618.42
8.3.20.0080.00020.16
8.3.10.0040.00423.35
8.3.00.0030.00619.56
8.2.180.0040.01118.25
8.2.170.0160.00622.96
8.2.160.0140.00719.04
8.2.150.0130.00624.18
8.2.140.0050.00324.66
8.2.130.0030.00619.39
8.2.120.0030.00626.35
8.2.110.0100.00022.16
8.2.100.0080.00417.70
8.2.90.0080.00019.05
8.2.80.0040.00417.97
8.2.70.0180.00417.23
8.2.60.0000.00817.92
8.2.50.0030.00618.10
8.2.40.0080.00020.29
8.2.30.0040.00419.30
8.2.20.0030.00718.02
8.2.10.0090.00018.06
8.2.00.0040.00418.02
8.1.280.0170.00325.92
8.1.270.0040.00422.11
8.1.260.0060.01226.35
8.1.250.0130.00728.09
8.1.240.0060.00618.99
8.1.230.0070.00419.17
8.1.220.0090.00017.79
8.1.210.0050.00318.77
8.1.200.0250.00016.88
8.1.190.0040.00418.88
8.1.180.0000.00818.10
8.1.170.0060.00320.25
8.1.160.0000.00718.97
8.1.150.0030.00520.61
8.1.140.0000.00819.40
8.1.130.0050.00318.82
8.1.120.0080.00017.40
8.1.110.0040.00417.36
8.1.100.0030.00517.38
8.1.90.0060.00317.36
8.1.80.0040.00417.40
8.1.70.0080.00017.35
8.1.60.0060.00317.52
8.1.50.0000.00817.43
8.1.40.0090.00517.30
8.1.30.0040.00417.47
8.1.20.0030.00617.59
8.1.10.0130.00017.49
8.1.00.0080.00017.47
8.0.300.0060.00320.09
8.0.290.0040.00416.75
8.0.280.0070.00018.46
8.0.270.0030.00517.29
8.0.260.0030.00316.79
8.0.250.0030.00316.97
8.0.240.0000.01017.00
8.0.230.0000.00716.86
8.0.220.0000.00716.85
8.0.210.0030.00316.70
8.0.200.0070.00016.77
8.0.190.0050.00316.89
8.0.180.0000.00816.89
8.0.170.0000.00716.71
8.0.160.0040.00416.84
8.0.150.0040.00416.75
8.0.140.0080.00016.80
8.0.130.0000.00513.33
8.0.120.0040.00416.82
8.0.110.0040.00416.80
8.0.100.0000.00816.75
8.0.90.0000.00716.76
8.0.80.0070.01416.84
8.0.70.0040.00416.66
8.0.60.0070.00016.82
8.0.50.0050.00216.88
8.0.30.0110.00716.93
8.0.20.0140.01017.40
8.0.10.0000.00716.80
8.0.00.0100.00716.55
7.4.330.0050.00015.55
7.4.320.0030.00316.29
7.4.300.0000.00616.41
7.4.290.0030.00316.53
7.4.280.0000.00816.51
7.4.270.0030.00316.51
7.4.260.0080.00016.45
7.4.250.0040.00416.49
7.4.240.0000.00716.54
7.4.230.0070.00016.46
7.4.220.0180.00716.38
7.4.210.0060.01316.37
7.4.200.0030.00316.36
7.4.160.0080.00716.39
7.4.150.0030.01417.40
7.4.140.0080.01417.86
7.4.130.0070.01116.41
7.4.120.0070.01416.47
7.3.330.0050.00013.06
7.3.320.0060.00013.02
7.3.310.0000.00716.15
7.3.300.0060.00016.17
7.3.290.0030.01016.20
7.3.280.0100.00616.18
7.3.270.0070.01117.40
7.3.260.0100.00716.43
7.3.250.0130.00416.38
7.3.240.0080.00916.25

preferences:
41.18 ms | 401 KiB | 5 Q