3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<HTML Here`s some stuff to look at. HTML; var_export(str_replace(array('`', "\r\n", "\n", "\t"), array('', ' ', ' ', ' '), $html));

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.00616.61
8.3.50.0140.00017.80
8.3.40.0160.00318.38
8.3.30.0000.01618.71
8.3.20.0060.00318.87
8.3.10.0050.00321.90
8.3.00.0080.00023.61
8.2.180.0120.00416.63
8.2.170.0070.00722.96
8.2.160.0070.00719.29
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0180.00020.71
8.2.110.0090.00022.08
8.2.100.0090.00317.70
8.2.90.0000.00919.05
8.2.80.0080.00017.97
8.2.70.0030.00517.93
8.2.60.0030.00617.92
8.2.50.0040.00418.10
8.2.40.0080.00019.32
8.2.30.0040.00419.11
8.2.20.0030.00517.90
8.2.10.0040.00417.90
8.2.00.0030.00319.39
8.1.280.0040.01125.92
8.1.270.0040.00421.98
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00322.33
8.1.230.0040.00718.95
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00917.23
8.1.190.0060.00317.10
8.1.180.0000.00818.10
8.1.170.0060.00318.76
8.1.160.0020.00518.77
8.1.150.0040.00418.76
8.1.140.0000.00717.69
8.1.130.0000.00819.17
8.1.120.0070.00017.33
8.1.110.0000.00917.39
8.1.100.0050.00317.29
8.1.90.0050.00317.38
8.1.80.0080.00017.27
8.1.70.0000.00717.41
8.1.60.0080.00017.50
8.1.50.0000.01217.50
8.1.40.0000.00817.42
8.1.30.0000.00817.61
8.1.20.0000.00817.56
8.1.10.0000.00817.34
8.1.00.0000.00817.34
8.0.300.0080.00018.78
8.0.290.0040.00416.75
8.0.280.0070.00018.28
8.0.270.0030.00317.19
8.0.260.0040.00416.71
8.0.250.0000.00716.91
8.0.240.0060.00316.88
8.0.230.0070.00016.98
8.0.220.0000.00816.89
8.0.210.0030.00316.91
8.0.200.0040.00416.96
8.0.190.0040.00416.83
8.0.180.0040.00416.92
8.0.170.0040.00416.81
8.0.160.0000.01016.95
8.0.150.0040.00416.78
8.0.140.0000.00716.89
8.0.130.0030.00313.29
8.0.120.0050.00316.77
8.0.110.0000.00716.78
8.0.100.0070.00016.77
8.0.90.0030.00316.71
8.0.80.0140.00516.82
8.0.70.0080.00016.71
8.0.60.0050.00316.91
8.0.50.0030.00516.87
8.0.30.0090.00917.12
8.0.20.0150.00517.40
8.0.10.0000.00717.01
8.0.00.0050.01216.66
7.4.330.0000.00515.55
7.4.320.0060.00016.45
7.4.300.0030.00316.36
7.4.290.0000.00616.48
7.4.280.0050.00216.52
7.4.270.0070.00316.54
7.4.260.0030.00316.32
7.4.250.0030.00316.48
7.4.240.0050.00316.56
7.4.230.0070.00016.64
7.4.220.0040.00416.27
7.4.210.0050.01416.50
7.4.200.0000.00716.25
7.4.160.0080.00816.43
7.4.140.0100.01217.86
7.4.130.0050.01516.51
7.4.120.0120.00716.35
7.4.110.0130.00316.42
7.4.100.0100.00716.31
7.4.90.0060.01116.49
7.4.80.0150.00619.39
7.4.70.0080.00816.52
7.4.60.0070.01116.35
7.4.50.0090.00916.10
7.4.40.0040.01416.39
7.4.00.0060.00915.04
7.3.330.0000.00612.96
7.3.320.0000.00512.95
7.3.310.0050.00316.26
7.3.300.0000.00716.24
7.3.290.0000.00716.17
7.3.280.0060.00916.20
7.3.260.0090.01116.42
7.3.240.0110.00716.31
7.3.230.0100.00716.17
7.3.210.0070.01116.47
7.3.200.0100.00616.46
7.3.190.0150.00316.40
7.3.180.0090.00616.34
7.3.170.0130.00616.43
7.3.160.0080.00816.25
7.3.10.0140.00016.60
7.3.00.0060.00316.51
7.2.330.0130.00616.53
7.2.320.0140.00416.14
7.2.310.0150.00316.54
7.2.300.0180.00016.32
7.2.290.0110.00616.51
7.2.130.0060.00316.42
7.2.120.0090.00316.64
7.2.110.0090.00616.56
7.2.100.0060.00316.73
7.2.90.0070.00416.84
7.2.80.0070.00716.67
7.2.70.0220.00915.84
7.2.60.0160.00815.82
7.2.50.0190.00815.86
7.2.40.0170.00515.77
7.2.30.0140.00815.69
7.2.20.0170.00715.78
7.2.10.0160.00515.65
7.2.00.0190.00515.56
7.1.250.0120.00315.77
7.1.200.0070.00415.46
7.1.170.0240.01313.76
7.1.160.0370.00313.91
7.1.150.0190.01013.93
7.1.140.0480.00013.97
7.1.130.0190.00913.83
7.1.120.0300.00313.73
7.1.110.0200.01013.61
7.1.100.0160.01013.79
7.1.90.0270.00013.88
7.1.80.0270.00713.88
7.1.70.0260.00013.70
7.1.60.0470.00431.97
7.1.50.0370.01232.01
7.1.40.0540.01431.53
7.1.30.0650.01631.84
7.1.20.0500.00931.82
7.1.10.0350.00513.99
7.1.00.1090.01313.63

preferences:
30.24 ms | 400 KiB | 5 Q