3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xxx = 'R3V2ZiBmdmdyIHVuZiBhYmcgYm9nbnZhcnEgbiB5dnByYWZyIHNlYnogPG4gdWVycz0idWdnYzovL3B2Z2VuLmpyby52cSI+UHZnZW5qcm88L24+'; $xxx = base64_decode($xxx); $string = 'VGhpcyBzaXRlIGhhcyBub3Qgb2J0YWluZWQgYSBsaWNlbnNlIGZyb20gJmx0O2EgaHJlZj0mcXVvdDtodHRwOi8vY2l0cmEud2ViLmlkJnF1b3Q7Jmd0O0NpdHJhd2ViJmx0Oy9hJmd0Ow=='; $encoded = htmlspecialchars($string); $encoded64 = base64_encode($encoded); $decoded64 = html_entity_decode(base64_decode($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.00918.31
8.3.50.0080.00816.46
8.3.40.0120.00318.71
8.3.30.0000.01418.54
8.3.20.0000.00820.34
8.3.10.0040.00423.53
8.3.00.0040.00419.56
8.2.180.0110.01118.16
8.2.170.0070.00722.96
8.2.160.0140.00019.09
8.2.150.0080.00024.18
8.2.140.0110.00424.66
8.2.130.0040.00419.33
8.2.120.0000.00826.35
8.2.110.0080.00022.06
8.2.100.0070.00317.50
8.2.90.0060.00319.06
8.2.80.0050.00317.97
8.2.70.0050.00317.36
8.2.60.0040.00418.04
8.2.50.0050.00518.10
8.2.40.0080.00020.47
8.2.30.0050.00219.25
8.2.20.0040.00417.96
8.2.10.0040.00418.10
8.2.00.0040.00418.13
8.1.280.0140.00725.92
8.1.270.0040.00422.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0090.00317.58
8.1.220.0000.01017.78
8.1.210.0030.00618.77
8.1.200.0070.00317.25
8.1.190.0060.00317.22
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0040.00419.06
8.1.150.0000.00820.46
8.1.140.0030.00519.48
8.1.130.0000.00718.87
8.1.120.0000.00717.38
8.1.110.0000.00717.41
8.1.100.0000.00717.38
8.1.90.0040.00417.41
8.1.80.0030.00317.45
8.1.70.0000.00717.32
8.1.60.0000.00717.53
8.1.50.0040.00417.32
8.1.40.0070.00417.44
8.1.30.0060.00317.50
8.1.20.0030.00617.47
8.1.10.0080.00017.47
8.1.00.0000.00717.31
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.43
8.0.270.0040.00417.17
8.0.260.0000.00816.83
8.0.250.0060.00016.84
8.0.240.0080.00016.95
8.0.230.0000.00716.91
8.0.220.0070.00016.85
8.0.210.0070.00016.84
8.0.200.0070.00016.90
8.0.190.0060.00316.93
8.0.180.0070.00016.82
8.0.170.0070.00016.82
8.0.160.0000.01016.84
8.0.150.0000.00716.81
8.0.140.0000.00716.79
8.0.130.0030.00313.17
8.0.120.0040.00416.77
8.0.110.0040.00416.73
8.0.100.0000.00716.71
8.0.90.0000.00716.68
8.0.80.0100.01416.80
8.0.70.0040.00416.89
8.0.60.0070.00016.83
8.0.50.0040.00416.61
8.0.30.0080.01116.97
8.0.20.0130.00617.40
8.0.10.0070.00016.76
8.0.00.0130.00616.56
7.4.330.0000.00615.55
7.4.320.0060.00016.36
7.4.300.0000.00716.48
7.4.290.0030.00316.37
7.4.280.0000.00916.52
7.4.270.0040.00416.51
7.4.260.0070.00016.52
7.4.250.0040.00416.32
7.4.240.0050.00316.59
7.4.230.0040.00416.43
7.4.220.0090.00916.44
7.4.210.0030.01416.55
7.4.200.0040.00416.65
7.4.160.0080.01016.35
7.4.150.0140.00317.40
7.4.140.0080.00917.86
7.4.130.0130.00716.22
7.4.120.0110.00816.53
7.3.330.0030.00312.94
7.3.320.0030.00313.03
7.3.310.0030.00516.28
7.3.300.0000.00616.03
7.3.290.0060.00816.19
7.3.280.0070.00916.21
7.3.270.0180.00617.40
7.3.260.0120.00516.49
7.3.250.0140.00716.36
7.3.240.0110.00816.28

preferences:
51.3 ms | 401 KiB | 5 Q