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_encode('cache/licence.txt'); $decoded64 = html_entity_decode(base64_decode(str_rot13($b))); echo $encoded;

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.0070.00718.18
8.3.50.0100.00316.11
8.3.40.0070.01418.63
8.3.30.0110.00718.32
8.3.20.0040.01120.26
8.3.10.0090.00021.76
8.3.00.0030.00519.54
8.2.180.0090.00918.42
8.2.170.0140.00722.96
8.2.160.0130.00018.94
8.2.150.0040.00424.18
8.2.140.0040.01124.66
8.2.130.0050.00319.44
8.2.120.0040.00426.35
8.2.110.0060.00320.44
8.2.100.0040.00817.91
8.2.90.0050.00319.27
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0000.00718.04
8.2.50.0000.00918.10
8.2.40.0000.00720.61
8.2.30.0040.00419.24
8.2.20.0000.00717.96
8.2.10.0050.00318.11
8.2.00.0050.00318.05
8.1.280.0110.00425.92
8.1.270.0070.00022.19
8.1.260.0050.00226.35
8.1.250.0030.01028.09
8.1.240.0060.00322.68
8.1.230.0070.00417.82
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0100.00317.13
8.1.190.0030.00617.10
8.1.180.0080.00018.10
8.1.170.0070.00018.49
8.1.160.0000.00719.00
8.1.150.0040.00418.74
8.1.140.0030.00519.55
8.1.130.0030.00318.69
8.1.120.0000.00717.38
8.1.110.0000.00817.27
8.1.100.0030.00617.37
8.1.90.0000.00817.33
8.1.80.0000.00817.42
8.1.70.0030.00317.29
8.1.60.0000.00817.51
8.1.50.0000.00717.35
8.1.40.0040.00417.32
8.1.30.0040.00417.57
8.1.20.0040.00417.45
8.1.10.0060.00317.55
8.1.00.0000.00717.37
8.0.300.0000.00818.77
8.0.290.0050.00316.75
8.0.280.0030.00318.31
8.0.270.0030.00317.25
8.0.260.0060.00016.85
8.0.250.0000.00716.86
8.0.240.0110.00017.01
8.0.230.0030.00316.91
8.0.220.0070.00016.71
8.0.210.0000.00716.75
8.0.200.0030.00316.84
8.0.190.0000.00816.79
8.0.180.0040.00416.86
8.0.170.0040.00416.88
8.0.160.0030.00316.78
8.0.150.0040.00416.65
8.0.140.0030.00316.76
8.0.130.0040.00413.31
8.0.120.0000.00716.77
8.0.110.0050.00216.80
8.0.100.0040.00416.83
8.0.90.0050.00216.84
8.0.80.0110.00716.79
8.0.70.0000.00816.77
8.0.60.0040.00416.93
8.0.50.0040.00416.77
8.0.30.0090.01116.89
8.0.20.0180.01117.40
8.0.10.0040.00416.97
8.0.00.0090.00916.66
7.4.330.0050.00015.55
7.4.320.0000.00616.43
7.4.300.0020.00516.48
7.4.290.0040.00416.51
7.4.280.0050.00316.31
7.4.270.0040.00416.32
7.4.260.0070.00016.39
7.4.250.0000.00916.38
7.4.240.0050.00316.48
7.4.230.0030.00316.62
7.4.220.0090.00916.39
7.4.210.0090.00916.61
7.4.200.0070.00016.24
7.4.160.0110.00716.33
7.4.150.0090.01517.40
7.4.140.0110.00717.86
7.4.130.0160.01016.22
7.4.120.0090.01116.47
7.3.330.0050.00012.93
7.3.320.0050.00013.10
7.3.310.0000.00716.03
7.3.300.0030.00616.17
7.3.290.0080.00916.18
7.3.280.0100.00716.17
7.3.270.0110.00617.40
7.3.260.0060.01116.30
7.3.250.0110.00616.20
7.3.240.0130.00816.30

preferences:
40.61 ms | 400 KiB | 5 Q