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($string)); echo $string;

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.0060.00918.43
8.3.50.0130.00316.48
8.3.40.0030.01418.79
8.3.30.0060.00918.76
8.3.20.0070.00020.34
8.3.10.0070.00021.78
8.3.00.0050.00319.66
8.2.180.0140.00316.38
8.2.170.0130.00322.96
8.2.160.0100.00318.91
8.2.150.0110.00424.18
8.2.140.0000.01724.66
8.2.130.0040.00419.45
8.2.120.0070.00026.35
8.2.110.0060.00322.13
8.2.100.0040.00717.70
8.2.90.0040.00419.11
8.2.80.0040.00418.05
8.2.70.0050.00517.63
8.2.60.0000.00917.80
8.2.50.0110.00018.10
8.2.40.0090.00020.47
8.2.30.0000.00719.20
8.2.20.0000.00718.16
8.2.10.0000.00718.16
8.2.00.0000.00717.98
8.1.280.0040.01125.92
8.1.270.0100.00622.10
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00621.25
8.1.230.0000.01119.11
8.1.220.0040.00417.78
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0030.00517.25
8.1.180.0000.00818.10
8.1.170.0040.00418.39
8.1.160.0000.00719.02
8.1.150.0040.00420.57
8.1.140.0040.00419.58
8.1.130.0080.00018.83
8.1.120.0030.00517.36
8.1.110.0040.00417.41
8.1.100.0040.00417.35
8.1.90.0040.00417.31
8.1.80.0040.00417.29
8.1.70.0020.00517.43
8.1.60.0030.00717.42
8.1.50.0040.00417.35
8.1.40.0020.00917.30
8.1.30.0070.00017.57
8.1.20.0040.00417.59
8.1.10.0050.00317.52
8.1.00.0000.00717.44
8.0.300.0060.00319.83
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0000.00717.27
8.0.260.0030.00316.73
8.0.250.0000.00617.02
8.0.240.0000.00816.84
8.0.230.0000.00716.88
8.0.220.0030.00316.78
8.0.210.0000.00716.83
8.0.200.0060.00016.90
8.0.190.0040.00416.82
8.0.180.0000.00716.82
8.0.170.0030.00316.80
8.0.160.0030.00916.79
8.0.150.0070.00016.75
8.0.140.0040.00416.65
8.0.130.0030.00313.25
8.0.120.0000.00716.68
8.0.110.0070.00016.68
8.0.100.0040.00416.84
8.0.90.0040.00416.74
8.0.80.0180.00816.86
8.0.70.0070.00016.89
8.0.60.0000.00816.61
8.0.50.0040.00416.72
8.0.30.0090.01017.06
8.0.20.0070.01217.40
8.0.10.0040.00417.02
8.0.00.0110.00716.67
7.4.330.0050.00015.55
7.4.320.0030.00316.44
7.4.300.0040.00416.48
7.4.290.0040.00416.33
7.4.280.0040.00416.42
7.4.270.0000.00716.59
7.4.260.0070.00016.34
7.4.250.0030.00316.51
7.4.240.0000.00716.52
7.4.230.0000.00816.30
7.4.220.0100.00716.47
7.4.210.0070.00716.46
7.4.200.0070.00016.44
7.4.160.0070.00916.36
7.4.150.0120.00817.40
7.4.140.0070.01217.86
7.4.130.0060.01716.33
7.4.120.0100.00816.50
7.3.330.0050.00013.12
7.3.320.0050.00012.92
7.3.310.0070.00016.25
7.3.300.0030.00316.18
7.3.290.0050.00916.24
7.3.280.0060.00916.16
7.3.270.0100.00717.40
7.3.260.0050.01116.29
7.3.250.0090.01116.30
7.3.240.0090.00816.32

preferences:
39.32 ms | 401 KiB | 5 Q