3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'Content-Type: text/xml'; print substr($text, strchr($text, ':')); print substr($text, strchr($text, ':') + 1); print substr($text, strpos($text, ':') + 1); print substr($text, strpos($text, ':') + 2); print substr($text, 0, strchr($text, ':'));

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.01018.43
8.3.50.0110.00416.36
8.3.40.0070.00718.96
8.3.30.0080.00818.81
8.3.20.0080.00020.21
8.3.10.0080.00021.77
8.3.00.0040.00421.77
8.2.180.0090.00620.23
8.2.170.0070.00722.96
8.2.160.0080.00819.25
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00222.16
8.2.120.0040.00426.35
8.2.110.0030.00620.36
8.2.100.0090.00317.91
8.2.90.0000.00819.05
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0030.00617.93
8.2.50.0080.00018.10
8.2.40.0050.00320.59
8.2.30.0030.00619.26
8.2.20.0000.00817.94
8.2.10.0070.00018.10
8.2.00.0050.00318.29
8.1.280.0100.01025.92
8.1.270.0080.00022.20
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00323.98
8.1.230.0000.01219.00
8.1.220.0000.00917.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0060.00317.36
8.1.180.0000.00718.10
8.1.170.0040.00418.57
8.1.160.0040.00418.72
8.1.150.0030.00620.13
8.1.140.0000.00719.52
8.1.130.0070.00019.01
8.1.120.0040.00317.39
8.1.110.0030.00517.42
8.1.100.0060.00317.43
8.1.90.0000.00717.44
8.1.80.0000.00717.41
8.1.70.0080.00017.39
8.1.60.0000.00817.40
8.1.50.0040.00417.50
8.1.40.0060.00317.53
8.1.30.0040.00417.60
8.1.20.0040.00417.62
8.1.10.0040.00417.61
8.1.00.0000.00817.37
8.0.300.0000.00918.77
8.0.290.0000.00716.75
8.0.280.0030.00318.36
8.0.270.0090.00017.10
8.0.260.0030.00317.14
8.0.250.0000.00616.99
8.0.240.0030.00516.90
8.0.230.0070.00316.93
8.0.220.0050.00316.92
8.0.210.0070.00016.89
8.0.200.0060.00016.90
8.0.190.0030.00516.98
8.0.180.0030.00516.89
8.0.170.0030.00516.83
8.0.160.0070.00016.88
8.0.150.0100.00016.84
8.0.140.0040.00416.82
8.0.130.0060.00013.33
8.0.120.0000.00716.89
8.0.110.0000.00716.66
8.0.100.0080.00016.87
8.0.90.0000.00816.92
8.0.80.0080.00916.85
8.0.70.0040.00416.88
8.0.60.0040.00416.82
8.0.50.0050.00216.70
8.0.30.0110.00817.23
8.0.20.0100.00917.40
8.0.10.0030.00517.12
8.0.00.0130.00316.64
7.4.330.0050.00515.55
7.4.320.0000.00716.41
7.4.300.0060.00016.32
7.4.290.0040.00416.53
7.4.280.0060.00316.43
7.4.270.0000.00716.58
7.4.260.0030.00316.42
7.4.250.0030.00516.25
7.4.240.0000.00716.52
7.4.230.0030.00316.53
7.4.220.0060.01316.54
7.4.210.0040.01116.54
7.4.200.0000.00716.55
7.4.160.0110.00516.49
7.4.150.0180.00017.40
7.4.140.0130.01217.86
7.4.130.0140.00616.54
7.4.120.0160.00716.51
7.4.110.0060.01316.52
7.4.100.0060.01116.34
7.4.90.0100.01016.49
7.4.80.0090.00919.39
7.4.70.0030.01316.42
7.4.60.0140.00616.53
7.4.50.0030.01016.31
7.4.40.0060.01016.20
7.4.30.0100.00616.39
7.4.00.0060.00614.95
7.3.330.0050.00013.24
7.3.320.0000.00513.09
7.3.310.0030.00516.11
7.3.300.0030.00316.13
7.3.290.0060.00716.19
7.3.280.0090.01016.18
7.3.270.0100.00717.40
7.3.260.0080.01016.42
7.3.250.0130.00416.33
7.3.240.0130.00516.31
7.3.230.0140.00316.39
7.3.210.0130.00316.35
7.3.200.0130.00316.36
7.3.190.0060.01216.45
7.3.180.0000.01616.39
7.3.170.0130.00616.46
7.3.160.0130.00916.32
7.2.330.0090.00616.41
7.2.320.0110.00716.53
7.2.310.0040.01216.52
7.2.300.0180.00616.42
7.2.290.0100.00616.39
7.2.60.0120.00416.78
7.2.00.0000.01519.48
7.1.200.0040.00715.82
7.1.100.0190.00816.09
7.1.70.0000.00716.71
7.1.60.0030.00717.28
7.1.50.0180.00716.88
7.1.30.1770.05336.54
7.1.20.1700.06336.51
7.1.10.1970.06020.42
7.1.00.1600.06720.63
7.0.200.0040.00816.44
7.0.170.1500.06019.94
7.0.160.1970.05720.03
7.0.150.2900.07020.06
7.0.140.2100.05719.94
7.0.130.2070.06020.10
7.0.120.2730.04720.07
7.0.110.1500.05720.02
7.0.100.2330.05320.06
7.0.90.1900.06320.16
7.0.80.2630.06320.04
7.0.70.2500.06720.24
7.0.60.1930.06720.20
7.0.50.2670.06320.23
7.0.40.2400.07020.07
7.0.30.2030.05320.15
7.0.20.2030.06020.05
7.0.10.2200.07020.09
7.0.00.2930.07320.14

preferences:
61.76 ms | 401 KiB | 5 Q