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($string); $encoded64 = base64_encode('citraweb'); $decoded64 = html_entity_decode(base64_decode(str_rot13($b))); echo $encoded64;

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.70.0090.00616.50
8.3.60.0090.00918.06
8.3.50.0150.00316.41
8.3.40.0100.01018.54
8.3.30.0060.01218.57
8.3.20.0040.00420.21
8.3.10.0040.00821.65
8.3.00.0050.00319.56
8.2.180.0170.00318.29
8.2.170.0130.00722.96
8.2.160.0100.00718.95
8.2.150.0040.00424.18
8.2.140.0090.00624.66
8.2.130.0040.00419.14
8.2.120.0070.01026.35
8.2.110.0090.00020.47
8.2.100.0000.01217.91
8.2.90.0080.00019.09
8.2.80.0000.00818.03
8.2.70.0040.00417.38
8.2.60.0030.00518.04
8.2.50.0000.00818.10
8.2.40.0040.00420.61
8.2.30.0040.00419.17
8.2.20.0070.00018.09
8.2.10.0030.00518.10
8.2.00.0040.00418.13
8.1.280.0090.00625.92
8.1.270.0100.00722.19
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00422.88
8.1.230.0080.00317.82
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.13
8.1.190.0000.00817.22
8.1.180.0030.00618.10
8.1.170.0040.00418.51
8.1.160.0070.00018.88
8.1.150.0000.00820.66
8.1.140.0040.00419.48
8.1.130.0070.00018.69
8.1.120.0000.00717.32
8.1.110.0000.00717.33
8.1.100.0020.00517.36
8.1.90.0000.00717.37
8.1.80.0030.00317.37
8.1.70.0000.00817.41
8.1.60.0040.00417.57
8.1.50.0000.00817.40
8.1.40.0040.00417.42
8.1.30.0000.00817.59
8.1.20.0000.00717.52
8.1.10.0040.00417.52
8.1.00.0040.00417.31
8.0.300.0030.00518.77
8.0.290.0000.00716.63
8.0.280.0040.00418.44
8.0.270.0070.00017.29
8.0.260.0000.00616.86
8.0.250.0070.00016.98
8.0.240.0040.00416.95
8.0.230.0040.00416.74
8.0.220.0000.00716.88
8.0.210.0030.00316.81
8.0.200.0000.00616.79
8.0.190.0030.00616.87
8.0.180.0040.00416.80
8.0.170.0030.00416.87
8.0.160.0070.00016.78
8.0.150.0000.00816.78
8.0.140.0030.00316.80
8.0.130.0050.00013.30
8.0.120.0040.00416.79
8.0.110.0000.00716.86
8.0.100.0040.00416.87
8.0.90.0000.00716.70
8.0.80.0070.01016.77
8.0.70.0000.00716.70
8.0.60.0000.00816.63
8.0.50.0070.00016.70
8.0.30.0100.00816.91
8.0.20.0080.01217.40
8.0.10.0000.00716.78
8.0.00.0070.01016.72
7.4.330.0030.00315.55
7.4.320.0070.00016.53
7.4.300.0000.00716.41
7.4.290.0000.00916.40
7.4.280.0040.00416.36
7.4.270.0000.00716.33
7.4.260.0050.00516.50
7.4.250.0060.00316.31
7.4.240.0000.00716.54
7.4.230.0070.00016.48
7.4.220.0030.01616.48
7.4.210.0000.01716.39
7.4.200.0030.00516.47
7.4.160.0080.01016.37
7.4.150.0130.01017.40
7.4.140.0120.00717.86
7.4.130.0130.00616.59
7.4.120.0060.01216.50
7.3.330.0000.00513.00
7.3.320.0000.00513.04
7.3.310.0070.00016.26
7.3.300.0040.00416.18
7.3.290.0110.00316.20
7.3.280.0080.00816.17
7.3.270.0060.01017.40
7.3.260.0120.00916.46
7.3.250.0120.00816.29
7.3.240.0100.00816.39

preferences:
50.71 ms | 401 KiB | 5 Q