3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "R&ouml;mer"; $rest = "R&ouml;mer"; $result = "R&ouml;mer"; do { $rest = stristr($rest,$s); echo "rest: $rest<br/>"; $replace = substr($rest,0,strlen($s)); $result = str_replace($replace,"<span class='textHighlight'>{$replace}</span>",$result); $rest = substr($rest,strlen($s)); } while ($rest !== false); echo $result;

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.0330.00716.00
8.3.50.0220.00721.92
8.3.40.0100.01018.57
8.3.30.0140.00718.57
8.3.20.0030.00718.60
8.3.10.0070.00320.57
8.3.00.0060.00621.73
8.2.180.0120.01216.38
8.2.170.0290.00022.96
8.2.160.0170.00320.43
8.2.150.0030.00724.18
8.2.140.0100.00024.66
8.2.130.0030.00726.16
8.2.120.0110.00019.36
8.2.110.0120.00019.27
8.2.100.0120.00417.91
8.2.90.0000.00919.05
8.2.80.0030.00617.97
8.2.70.0120.00017.50
8.2.60.0000.00917.93
8.2.50.0030.00618.10
8.2.40.0040.00417.91
8.2.30.0030.00619.80
8.2.20.0090.00017.61
8.2.10.0050.00517.70
8.2.00.0040.00417.69
8.1.280.0110.00725.92
8.1.270.0000.01023.99
8.1.260.0070.00426.35
8.1.250.0100.00028.09
8.1.240.0040.01119.34
8.1.230.0070.00717.82
8.1.220.0090.00017.74
8.1.210.0040.00718.77
8.1.200.0030.00717.12
8.1.190.0060.00317.22
8.1.180.0090.00018.10
8.1.170.0060.00318.75
8.1.160.0060.00318.95
8.1.150.0060.00318.56
8.1.140.0040.00417.38
8.1.130.0040.00417.77
8.1.120.0040.00417.51
8.1.110.0090.00017.46
8.1.100.0000.00917.46
8.1.90.0030.00617.40
8.1.80.0050.00517.41
8.1.70.0000.01017.44
8.1.60.0000.00917.64
8.1.50.0000.01317.52
8.1.40.0090.00017.56
8.1.30.0100.00017.62
8.1.20.0100.00017.63
8.1.10.0060.00317.49
8.1.00.0100.00317.59
8.0.300.0120.00018.77
8.0.290.0070.00316.58
8.0.280.0040.00418.29
8.0.270.0030.00617.11
8.0.260.0030.00618.38
8.0.250.0090.00016.73
8.0.240.0060.00716.88
8.0.230.0030.00716.74
8.0.220.0040.00416.80
8.0.210.0060.00316.77
8.0.200.0030.00616.99
8.0.190.0060.00316.80
8.0.180.0000.01016.72
8.0.170.0040.00716.73
8.0.160.0040.00416.83
8.0.150.0030.00616.77
8.0.140.0100.00316.70
8.0.130.0030.00613.42
8.0.120.0060.00316.80
8.0.110.0030.00616.64
8.0.100.0030.00616.84
8.0.90.0060.00316.66
8.0.80.0140.01416.80
8.0.70.0030.00616.73
8.0.60.0040.00416.64
8.0.50.0100.00016.64
8.0.30.0220.01917.00
8.0.20.0210.02017.40
8.0.10.0030.00616.73
8.0.00.0280.01216.59
7.4.330.0000.00514.83
7.4.320.0030.00316.51
7.4.300.0000.00616.61
7.4.290.0030.00316.46
7.4.280.0000.00716.46
7.4.270.0030.00316.59
7.4.260.0000.00613.17
7.4.250.0030.00616.55
7.4.240.0000.00716.59
7.4.230.0020.00516.34
7.4.220.0090.00916.50
7.4.210.0080.00816.55
7.4.200.0080.00016.48
7.4.190.0000.00716.70
7.4.160.0080.00816.66
7.4.150.0110.00617.40
7.4.140.0070.01517.86
7.4.130.0090.00816.52
7.4.120.0120.00916.41
7.4.110.0070.01616.41
7.4.100.0120.00616.63
7.4.90.0040.01216.40
7.4.80.0140.00319.37
7.4.70.0130.00316.37
7.4.60.0070.01116.50
7.4.50.0030.00316.26
7.4.40.0070.00722.27
7.4.30.0130.00916.51
7.4.10.0090.00914.80
7.4.00.0100.00514.90
7.3.330.0000.00513.16
7.3.320.0050.00013.08
7.3.310.0030.00316.20
7.3.300.0070.00016.17
7.3.290.0120.00916.27
7.3.280.0050.01016.22
7.3.270.0100.00717.40
7.3.260.0090.00618.24
7.3.250.0060.01316.23
7.3.240.0080.00816.34
7.3.230.0100.00716.41
7.3.210.0000.01616.33
7.3.200.0120.01219.39
7.3.190.0160.00616.26
7.3.180.0070.00716.21
7.3.170.0130.00316.44
7.3.160.0080.01516.36
7.3.130.0110.00414.52
7.3.120.0030.01314.81
7.3.110.0140.00414.58
7.3.100.0070.00715.07
7.3.90.0000.01314.93
7.3.80.0140.00314.92
7.3.70.0070.00714.91
7.3.60.0060.00614.82
7.3.50.0060.00914.74
7.3.40.0040.01414.67
7.3.30.0100.00714.86
7.3.20.0100.00316.55
7.3.10.0060.00816.52
7.3.00.0040.00616.58
7.2.330.0100.00716.42
7.2.320.0060.01616.73
7.2.310.0200.00416.38
7.2.300.0060.01316.53
7.2.290.0100.00716.63
7.2.260.0040.01414.89
7.2.250.0110.00314.89
7.2.240.0030.00914.90
7.2.230.0070.00715.03
7.2.220.0030.01015.10
7.2.210.0060.00915.11
7.2.200.0060.00614.88
7.2.190.0070.00715.04
7.2.180.0030.01214.81
7.2.170.0110.00714.80
7.2.160.0060.00914.73
7.2.150.0040.00716.85
7.2.140.0030.01016.66
7.2.130.0040.00816.82
7.2.120.0070.00816.87
7.2.110.0070.00516.77
7.2.100.0040.00816.91
7.2.90.0040.00916.89
7.2.80.0060.00816.91
7.2.70.0040.00716.88
7.2.60.0050.00916.79
7.2.50.0060.00716.93
7.2.40.0050.00716.82
7.2.30.0060.01016.78
7.2.20.0060.00716.87
7.2.10.0060.00716.89
7.2.00.0080.00617.34
7.1.330.0030.00915.76
7.1.320.0000.01015.86
7.1.310.0070.01016.14
7.1.300.0040.00415.62
7.1.290.0060.01215.91
7.1.280.0070.00715.96
7.1.270.0060.00615.86
7.1.260.0060.00615.89
7.1.250.0060.00515.91
7.1.240.0040.00415.92
7.1.230.0060.00615.84
7.1.220.0060.00615.90
7.1.210.0030.00915.67
7.1.200.0040.00615.86
7.1.190.0070.00715.61
7.1.180.0000.01215.59
7.1.170.0100.00315.79
7.1.160.0030.01015.59
7.1.150.0070.01015.54
7.1.140.0100.00315.93
7.1.130.0070.01015.80
7.1.120.0030.01015.64
7.1.110.0030.01315.84
7.1.100.0020.01216.85
7.1.90.0070.00315.68
7.1.80.0030.01015.79
7.1.70.0080.00616.42
7.1.60.0050.01017.57
7.1.50.0050.01016.43
7.1.40.0100.00015.91
7.1.30.0090.00315.84
7.1.20.0110.00015.68
7.1.10.0060.01015.91
7.1.00.0070.03018.92
7.0.330.0030.01015.61
7.0.320.0100.00315.51
7.0.310.0060.00615.32
7.0.300.0040.00415.36
7.0.290.0030.00515.53
7.0.280.0050.00515.37
7.0.270.0120.00015.23
7.0.260.0030.01015.54
7.0.250.0030.00715.54
7.0.240.0090.00615.42
7.0.230.0060.00615.08
7.0.220.0060.00615.55
7.0.210.0040.01115.55
7.0.200.0040.00615.89
7.0.190.0070.00715.05
7.0.180.0000.01315.33
7.0.170.0060.00615.43
7.0.160.0030.00915.16
7.0.150.0000.01015.38
7.0.140.0070.03718.80
7.0.130.0060.00615.40
7.0.120.0030.02818.76
7.0.110.0050.03018.87
7.0.100.0070.03218.82
7.0.90.0030.02518.57
7.0.80.0020.03918.82
7.0.70.0070.03818.70
7.0.60.0030.02418.68
7.0.50.0080.02018.76
7.0.40.0050.02716.77
7.0.30.0090.04216.67
7.0.20.0070.05016.84
7.0.10.0130.01816.82
7.0.00.0110.02516.72
5.6.400.0000.01614.61
5.6.390.0000.01314.30
5.6.380.0040.01414.33
5.6.370.0080.00414.19
5.6.360.0080.00014.48
5.6.350.0070.00713.98
5.6.340.0060.00614.46
5.6.330.0030.01014.39
5.6.320.0030.01314.39
5.6.310.0030.01014.23
5.6.300.0090.00013.94
5.6.290.0070.00714.30
5.6.280.0080.03517.71
5.6.270.0070.04717.80
5.6.260.0030.02417.65
5.6.250.0110.03517.62
5.6.240.0070.02217.64
5.6.230.0050.03717.69
5.6.220.0080.04717.61
5.6.210.0020.03117.70
5.6.200.0070.02717.63
5.6.190.0020.04417.62
5.6.180.0090.03217.69
5.6.170.0100.04117.64
5.6.160.0040.04717.66
5.6.150.0070.02417.70
5.6.140.0140.04217.60
5.6.130.0060.04617.49
5.6.120.0070.04317.49
5.6.110.0050.02117.71
5.6.100.0090.02017.47
5.6.90.0050.03917.67
5.6.80.0070.03317.15
5.6.70.0050.04317.19
5.6.60.0050.04317.25
5.6.50.0030.02617.24
5.6.40.0070.04017.24
5.6.30.0030.03017.17
5.6.20.0050.02117.32
5.6.10.0030.02317.29
5.6.00.0030.02917.04
5.5.380.0030.03515.90
5.5.370.0020.02315.97
5.5.360.0050.04515.78
5.5.350.0060.02216.08
5.5.340.0030.03816.03
5.5.330.0030.04616.25
5.5.320.0080.03616.23
5.5.310.0080.03616.07
5.5.300.0010.02716.14
5.5.290.0080.02016.01
5.5.280.0050.02116.04
5.5.270.0030.04716.05
5.5.260.0020.04016.07
5.5.250.0070.03816.04
5.5.240.0080.04215.53
5.5.230.0080.04015.79
5.5.220.0040.03015.93
5.5.210.0030.04716.00
5.5.200.0060.02115.77
5.5.190.0030.03615.82
5.5.180.0030.04215.70
5.5.170.0030.01313.99
5.5.160.0070.01915.69
5.5.150.0030.02315.81
5.5.140.0030.02415.79
5.5.130.0000.02815.75
5.5.120.0010.02615.91
5.5.110.0020.02215.69
5.5.100.0020.02715.54
5.5.90.0050.02015.38
5.5.80.0030.03615.76
5.5.70.0040.02015.71
5.5.60.0030.02015.56
5.5.50.0020.01815.85
5.5.40.0100.01215.78
5.5.30.0000.02215.71
5.5.20.0040.01915.56
5.5.10.0070.01715.66
5.5.00.0030.01915.75
5.4.450.0070.04315.29
5.4.440.0050.04815.28
5.4.430.0030.04215.37
5.4.420.0060.03815.31
5.4.410.0050.02315.20
5.4.400.0020.02015.25
5.4.390.0050.03615.25
5.4.380.0060.02615.11
5.4.370.0010.04015.20
5.4.360.0020.02515.15
5.4.350.0050.02015.19
5.4.340.0030.04215.16
5.4.330.0000.01011.28
5.4.320.0020.03015.17
5.4.310.0030.04215.16
5.4.300.0020.03615.15
5.4.290.0030.02815.24
5.4.280.0000.02915.15
5.4.270.0020.02415.19
5.4.260.0020.02315.09
5.4.250.0050.02015.16
5.4.240.0000.01915.14
5.4.230.0050.01515.08
5.4.220.0040.02215.12
5.4.210.0020.02415.15
5.4.200.0020.02315.10
5.4.190.0030.01815.08
5.4.180.0050.02015.16
5.4.170.0070.02015.09
5.4.160.0110.01715.24
5.4.150.0030.01815.06
5.4.140.0030.02013.83
5.4.130.0060.01813.75
5.4.120.0030.01513.86
5.4.110.0050.01513.75
5.4.100.0020.01913.86
5.4.90.0070.01313.85
5.4.80.0040.01713.75
5.4.70.0020.01913.72
5.4.60.0010.02113.80
5.4.50.0050.01613.69
5.4.40.0020.02213.89
5.4.30.0050.01713.86
5.4.20.0030.01813.80
5.4.10.0000.02013.86
5.4.00.0060.01513.56
5.3.290.0070.02212.94
5.3.280.0060.02012.99
5.3.270.0040.01912.89
5.3.260.0030.03312.94
5.3.250.0020.01812.91
5.3.240.0030.02412.98
5.3.230.0010.01912.87
5.3.220.0020.02012.89
5.3.210.0030.01712.85
5.3.200.0010.01912.93
5.3.190.0040.01812.90
5.3.180.0020.01812.89
5.3.170.0020.02212.92
5.3.160.0030.01512.87
5.3.150.0030.01712.87
5.3.140.0020.01712.92
5.3.130.0010.02112.88
5.3.120.0000.02112.91
5.3.110.0020.02012.88
5.3.100.0000.01912.60
5.3.90.0000.01812.59
5.3.80.0020.01712.61
5.3.70.0000.01812.67
5.3.60.0040.01512.67
5.3.50.0020.01912.53
5.3.40.0040.01612.54
5.3.30.0000.01912.51
5.3.20.0070.01512.45
5.3.10.0000.02112.51
5.3.00.0030.01812.49
5.2.170.0000.02311.04
5.2.160.0000.02311.13
5.2.150.0000.02311.09
5.2.140.0000.02311.09
5.2.130.0030.02311.04
5.2.120.0000.02311.11
5.2.110.0000.02310.98
5.2.100.0000.02311.00
5.2.90.0070.01711.19
5.2.80.0000.02311.16
5.2.70.0000.02711.04
5.2.60.0030.02310.96
5.2.50.0000.02310.94
5.2.40.0000.02710.93
5.2.30.0000.02311.04
5.2.20.0070.02010.85
5.2.10.0030.02310.94
5.2.00.0000.05310.84
5.1.60.0000.0309.98
5.1.50.0030.02010.15
5.1.40.0000.0239.91
5.1.30.0000.02310.28
5.1.20.0030.02010.30
5.1.10.0000.02310.02
5.1.00.0030.0239.97
5.0.50.0000.0239.68
5.0.40.0000.0179.68
5.0.30.0000.0309.68
5.0.20.0000.0179.68
5.0.10.0000.0179.68
5.0.00.0000.0279.68
4.4.90.0030.0109.68
4.4.80.0000.0139.68
4.4.70.0000.0139.68
4.4.60.0000.0109.68
4.4.50.0030.0109.68
4.4.40.0030.0309.68
4.4.30.0000.0139.68
4.4.20.0100.0079.68
4.4.10.0030.0209.68
4.4.00.0100.0139.68
4.3.110.0000.0139.68
4.3.100.0000.0139.68
4.3.90.0030.0109.68
4.3.80.0000.0209.68
4.3.70.0030.0109.68
4.3.60.0000.0139.68
4.3.50.0030.0109.68
4.3.40.0000.0209.68
4.3.30.0000.0139.68
4.3.20.0000.0139.68
4.3.10.0000.0139.68
4.3.00.0000.0139.68

preferences:
74.76 ms | 401 KiB | 5 Q