3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Hello this is dummy.test. in this string any character, any special character can appear. it is not a fixed type text and predefined. this string will not read manually check by the Programmer.Sorry for the bad English."; $test = strrpos($str, 'test'); $dummy = strrpos($str, 'dummy'); echo $dummy;

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.0110.01118.31
8.3.50.0070.00721.08
8.3.40.0150.00618.60
8.3.30.0110.00318.54
8.3.20.0080.00018.73
8.3.10.0080.00021.09
8.3.00.0070.00021.94
8.2.180.0040.01116.38
8.2.170.0070.00722.96
8.2.160.0100.00320.34
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0030.00621.12
8.2.110.0070.00320.52
8.2.100.0090.00317.84
8.2.90.0000.00719.22
8.2.80.0040.00417.97
8.2.70.0080.00017.38
8.2.60.0040.00418.05
8.2.50.0000.00818.07
8.2.40.0000.00818.16
8.2.30.0040.00421.33
8.2.20.0040.00417.68
8.2.10.0000.00717.85
8.2.00.0040.00717.43
8.1.280.0140.00425.92
8.1.270.0040.00423.99
8.1.260.0100.00726.35
8.1.250.0070.00028.09
8.1.240.0180.00322.61
8.1.230.0060.00622.74
8.1.220.0080.00018.77
8.1.210.0000.00818.88
8.1.200.0130.00017.11
8.1.190.0000.00817.41
8.1.180.0040.00418.10
8.1.170.0030.00618.53
8.1.160.0000.00818.82
8.1.150.0040.00418.58
8.1.140.0000.00717.38
8.1.130.0000.00717.89
8.1.120.0040.00417.40
8.1.110.0080.00017.42
8.1.100.0070.00017.32
8.1.90.0040.00417.46
8.1.80.0000.00717.38
8.1.70.0030.00317.35
8.1.60.0030.00617.43
8.1.50.0020.00517.43
8.1.40.0060.00317.46
8.1.30.0050.00317.54
8.1.20.0030.00617.61
8.1.10.0060.00317.50
8.1.00.0020.00517.29
8.0.300.0030.00520.07
8.0.290.0070.00017.18
8.0.280.0000.00718.32
8.0.270.0000.00717.17
8.0.260.0070.00016.73
8.0.250.0080.00016.92
8.0.240.0000.00816.92
8.0.230.0030.00316.88
8.0.220.0030.00316.84
8.0.210.0040.00416.83
8.0.200.0000.00616.85
8.0.190.0040.00416.85
8.0.180.0000.00716.89
8.0.170.0000.00716.75
8.0.160.0000.00716.88
8.0.150.0000.00716.82
8.0.140.0000.00716.84
8.0.130.0030.00313.23
8.0.120.0040.00416.81
8.0.110.0050.00316.94
8.0.100.0000.00816.81
8.0.90.0080.00016.87
8.0.80.0040.01116.75
8.0.70.0070.00016.72
8.0.60.0070.00016.70
8.0.50.0000.00716.71
8.0.30.0170.00716.99
8.0.20.0100.00817.40
8.0.10.0080.00016.94
8.0.00.0170.01716.64
7.4.330.0000.00516.67
7.4.320.0000.00616.34
7.4.300.0040.00416.45
7.4.290.0040.00416.55
7.4.280.0000.00716.39
7.4.270.0030.00316.35
7.4.260.0000.00513.21
7.4.250.0020.00516.47
7.4.240.0000.00716.58
7.4.230.0000.00716.34
7.4.220.0180.00416.30
7.4.210.0070.01016.44
7.4.200.0030.00316.25
7.4.190.0030.00416.67
7.4.160.0030.01316.40
7.4.150.0130.00717.40
7.4.140.0050.01217.86
7.4.130.0110.01016.39
7.4.120.0120.00816.51
7.4.110.0130.00816.41
7.4.100.0090.00916.47
7.4.90.0060.01216.34
7.4.80.0090.00919.39
7.4.70.0120.00916.52
7.4.60.0090.00916.46
7.4.50.0000.00516.26
7.4.40.0030.01022.77
7.4.30.0140.00716.57
7.4.00.0000.01014.83
7.3.330.0000.00613.03
7.3.320.0050.00012.98
7.3.310.0070.00016.10
7.3.300.0070.00016.18
7.3.290.0040.01116.22
7.3.280.0120.00616.20
7.3.270.0160.00717.40
7.3.260.0120.00618.24
7.3.250.0080.01016.38
7.3.240.0140.01016.41
7.3.230.0030.01416.45
7.3.210.0100.00716.16
7.3.200.0150.00619.39
7.3.190.0130.00916.32
7.3.180.0060.00916.13
7.3.170.0090.00616.30
7.3.160.0090.00716.13
7.3.120.0060.00815.04
7.2.330.0110.00716.38
7.2.320.0130.01016.71
7.2.310.0110.01216.48
7.2.300.0100.00716.61
7.2.290.0040.01116.66
7.2.60.0100.00716.66
7.2.00.0250.00519.18
7.1.200.0130.00615.74
7.1.100.0000.01117.88
7.1.70.0050.00317.14
7.1.60.0040.01519.40
7.1.50.0240.01434.57
7.1.00.0030.03322.47
7.0.200.0000.00716.91
7.0.140.0070.07022.10
7.0.100.0330.08719.96
7.0.90.0030.08719.92
7.0.80.0070.05719.91
7.0.70.0400.06320.01
7.0.60.0070.06019.91
7.0.50.0030.06020.30
7.0.40.0200.06720.14
7.0.30.0070.07720.11
7.0.20.0000.08720.05
7.0.10.0100.06720.08
7.0.00.0030.08720.02
5.6.280.0100.06721.11
5.6.250.0000.08720.65
5.6.240.0000.09020.57
5.6.230.0130.07320.63
5.6.220.0130.08020.73
5.6.210.0070.04720.55
5.6.200.0070.05720.94
5.6.190.0200.08021.09
5.6.180.0130.07721.08
5.6.170.0200.06320.94
5.6.160.0030.08021.06
5.6.150.0130.07321.05
5.6.140.0030.09721.07
5.6.130.0070.06021.04
5.6.120.0100.07721.11
5.6.110.0030.08021.06
5.6.100.0170.08020.96
5.6.90.0030.05721.10
5.6.80.0100.08320.50
5.6.70.0170.07020.42
5.6.60.0000.04720.38
5.6.50.0100.07320.44
5.6.40.0100.07320.36
5.6.30.0100.05020.38
5.6.20.0130.04020.45
5.6.10.0130.07720.36
5.6.00.0030.07320.34
5.5.380.0130.07720.45
5.5.370.0030.07020.49
5.5.360.0100.06320.52
5.5.350.0100.04720.42
5.5.340.0170.04020.79
5.5.330.0130.07320.73
5.5.320.0100.07320.80
5.5.310.0100.07320.91
5.5.300.0130.07720.79
5.5.290.0100.05320.89
5.5.280.0070.06720.91
5.5.270.0070.09020.89
5.5.260.0170.04720.82
5.5.250.0030.07020.71
5.5.240.0070.08020.12
5.5.230.0070.04020.29
5.5.220.0170.07020.00
5.5.210.0030.06720.29
5.5.200.0100.08019.99
5.5.190.0070.06720.14
5.5.180.0100.07719.94
5.5.160.0200.06020.13
5.5.150.0000.07020.26
5.5.140.0070.05720.17
5.5.130.0000.05320.21
5.5.120.0070.08020.24
5.5.110.0070.04320.27
5.5.100.0070.06720.09
5.5.90.0070.07720.15
5.5.80.0030.07720.00
5.5.70.0070.06320.05
5.5.60.0070.05320.08
5.5.50.0130.07020.14
5.5.40.0070.04320.07
5.5.30.0170.05320.04
5.5.20.0030.08020.13
5.5.10.0070.08019.97
5.5.00.0100.06720.04
5.4.450.0030.08019.34
5.4.440.0030.08719.11
5.4.430.0030.08319.39
5.4.420.0200.06719.45
5.4.410.0100.04019.21
5.4.400.0070.07019.10
5.4.390.0070.05019.02
5.4.380.0070.07019.02
5.4.370.0200.03318.96
5.4.360.0100.07018.81
5.4.350.0070.06319.04
5.4.340.0000.08318.90
5.4.320.0170.08319.02
5.4.310.0030.07318.94
5.4.300.0130.05018.84
5.4.290.0100.03319.04
5.4.280.0030.08319.09
5.4.270.0100.06719.02
5.4.260.0070.07319.02
5.4.250.0030.08019.04
5.4.240.0170.06719.01
5.4.230.0070.04319.01
5.4.220.0030.07718.88
5.4.210.0070.07318.93
5.4.200.0200.04019.01
5.4.190.0030.07719.13
5.4.180.0030.08018.77
5.4.170.0070.09019.00
5.4.160.0070.04019.00
5.4.150.0070.06718.79
5.4.140.0030.07716.41
5.4.130.0030.07016.27
5.4.120.0000.05016.36
5.4.110.0070.03716.32
5.4.100.0100.06716.35
5.4.90.0000.07016.35
5.4.80.0030.04716.39
5.4.70.0070.07016.42
5.4.60.0130.05716.39
5.4.50.0070.07016.30
5.4.40.0170.05316.41
5.4.30.0030.07016.31
5.4.20.0030.07016.27
5.4.10.0030.04016.13
5.4.00.0170.05715.80
5.3.290.0100.07314.61
5.3.280.0070.07714.57
5.3.270.0030.08014.44
5.3.260.0000.08014.42
5.3.250.0070.06014.59
5.3.240.0100.04014.60
5.3.230.0030.05014.60
5.3.220.0030.08014.43
5.3.210.0130.07014.38
5.3.200.0170.06014.47
5.3.190.0130.03314.50
5.3.180.0170.06314.50
5.3.170.0030.08014.42
5.3.160.0030.08014.55
5.3.150.0070.07314.42
5.3.140.0100.06314.48
5.3.130.0030.04714.39
5.3.120.0100.05714.52
5.3.110.0100.06714.50
5.3.100.0070.08013.99
5.3.90.0130.03313.88
5.3.80.0000.04014.00
5.3.70.0030.06713.97
5.3.60.0170.06313.99
5.3.50.0130.05713.89
5.3.40.0070.04713.93
5.3.30.0030.04313.89
5.3.20.0070.06713.45
5.3.10.0030.04313.59
5.3.00.0070.07313.57
5.2.170.0070.06011.13
5.2.160.0030.06311.20
5.2.150.0130.04711.14
5.2.140.0030.03711.20
5.2.130.0100.05010.91
5.2.120.0070.05711.09
5.2.110.0130.05310.96
5.2.100.0070.05311.16
5.2.90.0030.06311.05
5.2.80.0070.05711.07
5.2.70.0000.06311.01
5.2.60.0030.03311.04
5.2.50.0070.06310.96
5.2.40.0030.03310.95
5.2.30.0070.05711.03
5.2.20.0030.06310.75
5.2.10.0070.05310.91
5.2.00.0100.05710.78
5.1.60.0070.0279.98
5.1.50.0000.0539.83
5.1.40.0030.0509.96
5.1.30.0000.06310.39
5.1.20.0070.05010.29
5.1.10.0070.0539.90
5.1.00.0100.0479.94
5.0.50.0000.0238.54
5.0.40.0070.0378.24
5.0.30.0000.0478.27
5.0.20.0000.0478.18
5.0.10.0070.0338.04
5.0.00.0000.0638.14
4.4.90.0100.0277.84
4.4.80.0000.0277.84
4.4.70.0000.0407.84
4.4.60.0000.0207.84
4.4.50.0030.0307.84
4.4.40.0070.0237.84
4.4.30.0000.0377.84
4.4.20.0070.0277.84
4.4.10.0000.0377.84
4.4.00.0030.0337.84
4.3.110.0070.0277.84
4.3.100.0000.0207.84
4.3.90.0070.0307.84
4.3.80.0000.0507.84
4.3.70.0100.0277.84
4.3.60.0000.0307.84
4.3.50.0000.0337.84
4.3.40.0030.0537.84
4.3.30.0030.0337.84
4.3.20.0030.0277.84
4.3.10.0030.0337.84
4.3.00.0000.0337.84

preferences:
42.47 ms | 401 KiB | 5 Q