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', strlen($str) - $test); 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.0100.01018.30
8.3.50.0100.00521.88
8.3.40.0040.01118.54
8.3.30.0140.00718.95
8.3.20.0070.00020.22
8.3.10.0040.00421.92
8.3.00.0040.00422.46
8.2.180.0070.00716.50
8.2.170.0090.00922.96
8.2.160.0140.00320.96
8.2.150.0110.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00319.48
8.2.110.0040.00422.11
8.2.100.0080.00417.78
8.2.90.0000.00719.06
8.2.80.0000.00917.97
8.2.70.0060.00617.50
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0060.00318.22
8.2.30.0080.00017.93
8.2.20.0040.00417.66
8.2.10.0070.00017.74
8.2.00.0040.00417.63
8.1.280.0140.00025.92
8.1.270.0040.00423.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00023.81
8.1.230.0070.00419.16
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00017.35
8.1.190.0040.00417.51
8.1.180.0040.00418.10
8.1.170.0040.00418.35
8.1.160.0040.00421.90
8.1.150.0040.00418.61
8.1.140.0040.00417.44
8.1.130.0070.00017.82
8.1.120.0040.00417.46
8.1.110.0050.00217.23
8.1.100.0040.00417.39
8.1.90.0040.00417.30
8.1.80.0040.00417.45
8.1.70.0030.00317.36
8.1.60.0000.01017.39
8.1.50.0030.00617.36
8.1.40.0080.00017.31
8.1.30.0000.00817.52
8.1.20.0040.00417.44
8.1.10.0000.00717.41
8.1.00.0000.00717.30
8.0.300.0070.00018.77
8.0.290.0000.00717.18
8.0.280.0070.00018.39
8.0.270.0030.00317.25
8.0.260.0100.00016.81
8.0.250.0030.00316.85
8.0.240.0070.00016.94
8.0.230.0050.00216.88
8.0.220.0030.00316.89
8.0.210.0050.00316.73
8.0.200.0050.00216.92
8.0.190.0000.00816.89
8.0.180.0040.00416.71
8.0.170.0040.00416.87
8.0.160.0000.00716.83
8.0.150.0050.00216.67
8.0.140.0050.00316.80
8.0.130.0030.00313.26
8.0.120.0000.00716.81
8.0.110.0040.00416.78
8.0.100.0000.00816.75
8.0.90.0050.00316.78
8.0.80.0110.00516.88
8.0.70.0040.00316.86
8.0.60.0040.00416.94
8.0.50.0040.00416.68
8.0.30.0100.00917.02
8.0.20.0110.00817.40
8.0.10.0040.00417.01
8.0.00.0120.01016.86
7.4.330.0050.00015.03
7.4.320.0060.00016.45
7.4.300.0000.00616.46
7.4.290.0000.00716.51
7.4.280.0030.00516.41
7.4.270.0030.00316.52
7.4.260.0030.00316.37
7.4.250.0000.00716.50
7.4.240.0050.00216.46
7.4.230.0050.00216.27
7.4.220.0030.01416.46
7.4.210.0080.00816.53
7.4.200.0070.00016.47
7.4.190.0030.00316.33
7.4.160.0080.00816.55
7.4.150.0070.01117.40
7.4.140.0100.01017.86
7.4.130.0120.00516.55
7.4.120.0110.00816.40
7.4.110.0030.01316.55
7.4.100.0060.01116.41
7.4.90.0180.00416.46
7.4.80.0110.00716.36
7.4.70.0110.00716.45
7.4.60.0040.01216.46
7.4.50.0030.00316.17
7.4.40.0040.00822.77
7.4.30.0100.01016.63
7.4.10.0060.01214.80
7.4.00.0080.00914.96
7.3.330.0000.00513.21
7.3.320.0000.00613.18
7.3.310.0040.00416.32
7.3.300.0030.00316.24
7.3.290.0070.00716.27
7.3.280.0100.00716.23
7.3.270.0070.01017.40
7.3.260.0040.01616.27
7.3.250.0090.00916.31
7.3.240.0070.01016.32
7.3.230.0120.00316.39
7.3.210.0160.00716.23
7.3.200.0130.00919.39
7.3.190.0100.00716.49
7.3.180.0140.00416.41
7.3.170.0160.00616.51
7.3.160.0090.00616.31
7.3.130.0070.01114.51
7.3.120.0090.00914.72
7.3.110.0120.00614.40
7.3.100.0060.00914.44
7.3.90.0000.01814.77
7.3.80.0000.01014.84
7.3.70.0070.00414.92
7.3.60.0090.00014.81
7.3.50.0000.01514.89
7.3.40.0110.00014.45
7.3.30.0060.00614.77
7.3.20.0070.00716.77
7.3.10.0080.00816.50
7.3.00.0130.00316.67
7.2.330.0130.00316.72
7.2.320.0030.01916.63
7.2.310.0070.01016.39
7.2.300.0100.00616.64
7.2.290.0090.00916.63
7.2.260.0100.00714.86
7.2.250.0070.01114.99
7.2.240.0030.01314.81
7.2.230.0000.01614.93
7.2.220.0090.00615.14
7.2.210.0090.00615.15
7.2.200.0070.01015.14
7.2.190.0030.01314.94
7.2.180.0070.01014.85
7.2.170.0030.00614.80
7.2.160.0120.00314.91
7.2.150.0090.00316.98
7.2.140.0030.00716.56
7.2.130.0000.00916.55
7.2.120.0140.00416.89
7.2.110.0030.01016.80
7.2.100.0110.00716.60
7.2.90.0000.01417.06
7.2.80.0090.00916.91
7.2.70.0070.00716.57
7.2.60.0000.01316.89
7.2.50.0090.01017.00
7.2.40.0110.00816.80
7.2.30.0030.00917.10
7.2.20.0070.01016.71
7.2.10.0100.00616.95
7.2.00.0110.00417.98
7.1.330.0030.01215.67
7.1.320.0090.00615.93
7.1.310.0090.00615.93
7.1.300.0070.00316.03
7.1.290.0100.00315.77
7.1.280.0070.00715.75
7.1.270.0060.00915.86
7.1.260.0110.00315.92
7.1.250.0000.01715.64
7.1.240.0060.00915.92
7.1.230.0060.00615.67
7.1.220.0060.00615.57
7.1.210.0070.01015.69
7.1.200.0120.00615.87
7.1.190.0070.00715.85
7.1.180.0030.01015.91
7.1.170.0100.00315.76
7.1.160.0060.00315.73
7.1.150.0070.00715.94
7.1.140.0060.01015.63
7.1.130.0030.01015.72
7.1.120.0120.00615.91
7.1.110.0060.01215.80
7.1.100.0040.00717.04
7.1.90.0100.00315.88
7.1.80.0120.00415.95
7.1.70.0070.00716.47
7.1.60.0100.00917.83
7.1.50.0080.01016.38
7.1.40.0040.00815.74
7.1.30.0000.01215.88
7.1.20.0000.01115.61
7.1.10.0030.01315.87
7.1.00.0050.04119.08
7.0.330.0060.01015.40
7.0.320.0070.00715.59
7.0.310.0040.01115.21
7.0.300.0030.01415.29
7.0.290.0040.01115.41
7.0.280.0000.01215.15
7.0.270.0080.00315.34
7.0.260.0070.01115.47
7.0.250.0100.00715.48
7.0.240.0030.00915.52
7.0.230.0030.00915.54
7.0.220.0030.00715.50
7.0.210.0060.00915.41
7.0.200.0090.00516.01
7.0.190.0060.01015.40
7.0.180.0030.01015.52
7.0.170.0070.01015.50
7.0.160.0060.00915.49
7.0.150.0100.00315.45
7.0.140.0030.04218.78
7.0.130.0000.01115.39
7.0.120.0040.00415.31
7.0.110.0100.00315.52
7.0.100.0070.00715.54
7.0.90.0040.01115.24
7.0.80.0030.00915.45
7.0.70.0060.00615.44
7.0.60.0060.03517.79
7.0.50.0050.03216.79
7.0.40.0140.03916.85
7.0.30.0130.03016.89
7.0.20.0180.04316.76
7.0.10.0070.04816.83
7.0.00.0050.05016.93
5.6.400.0080.00814.19
5.6.390.0030.01214.34
5.6.380.0060.00914.47
5.6.370.0040.01113.99
5.6.360.0030.01414.56
5.6.350.0040.01114.54
5.6.340.0030.01313.89
5.6.330.0100.00714.10
5.6.320.0060.00314.07
5.6.310.0080.00614.53
5.6.300.0030.01014.48
5.6.290.0090.00614.43
5.6.280.0040.04017.73
5.6.270.0090.00414.51
5.6.260.0030.01014.04
5.6.250.0090.00614.17
5.6.240.0000.01314.40
5.6.230.0040.00814.36
5.6.220.0000.00913.95
5.6.210.0050.04317.34
5.6.200.0030.03616.29
5.6.190.0090.02317.38
5.6.180.0020.03217.46
5.6.170.0130.02917.37
5.6.160.0050.03217.38
5.6.150.0030.04816.30
5.6.140.0070.03016.36
5.6.130.0070.04616.28
5.6.120.0070.04017.73
5.6.110.0100.03317.71
5.6.100.0130.04217.77
5.6.90.0080.02417.71
5.6.80.0100.03517.21
5.6.70.0000.01414.29
5.6.60.0040.00414.39
5.6.50.0030.00614.20
5.6.40.0060.00914.34
5.6.30.0040.00714.24
5.6.20.0120.00414.21
5.6.10.0110.00014.29
5.6.00.0030.01014.12
5.5.380.0030.00714.21
5.5.370.0100.00314.28
5.5.360.0040.00814.18
5.5.350.0050.04617.19
5.5.340.0080.04316.25
5.5.330.0040.04517.42
5.5.320.0180.03417.23
5.5.310.0210.04117.26
5.5.300.0030.02916.20
5.5.290.0050.02616.01
5.5.280.0100.04517.53
5.5.270.0120.04217.25
5.5.260.0080.03517.43
5.5.250.0060.04317.54
5.5.240.0030.04317.13
5.5.230.0090.00314.34
5.5.220.0040.00914.25
5.5.210.0110.00314.27
5.5.200.0030.00714.31
5.5.190.0040.00714.18
5.5.180.0120.00414.33
5.5.170.0000.00914.38
5.5.160.0000.00913.82
5.5.150.0070.00314.26
5.5.140.0030.00713.99
5.5.130.0120.00314.32
5.5.120.0040.01214.04
5.5.110.0030.00714.29
5.5.100.0030.00913.72
5.5.90.0060.00614.41
5.5.80.0080.00414.04
5.5.70.0030.00513.89
5.5.60.0040.00414.27
5.5.50.0070.00713.89
5.5.40.0060.00614.00
5.5.30.0070.00714.17
5.5.20.0110.00314.18
5.5.10.0000.01313.95
5.5.00.0000.00914.23
5.4.450.0850.02015.43
5.4.440.1030.02715.59
5.4.430.1060.02815.49
5.4.420.0850.03015.58
5.4.410.1050.02515.59
5.4.400.0960.02615.41
5.4.390.1010.02515.47
5.4.380.1050.02515.39
5.4.370.1000.02815.47
5.4.360.0080.03615.32
5.4.350.0030.02715.27
5.4.340.0080.03515.31
5.4.330.0110.00011.73
5.4.320.0510.03015.43
5.4.310.0920.01915.31
5.4.300.1020.01815.41
5.4.290.1050.02515.49
5.4.280.0910.02115.43
5.4.270.0930.02115.33
5.4.260.0970.02615.48
5.4.250.0920.01715.48
5.4.240.1000.02415.30
5.4.230.1000.02615.43
5.4.220.0980.02115.41
5.4.210.0970.02615.40
5.4.200.1050.02715.30
5.4.190.0970.02815.47
5.4.180.0980.02015.46
5.4.170.1030.02215.41
5.4.160.1050.01815.31
5.4.150.1050.02515.26
5.4.140.1030.02514.05
5.4.130.1020.02614.09
5.4.120.0920.02214.09
5.4.110.0950.02214.06
5.4.100.1070.01514.08
5.4.90.0920.02114.10
5.4.80.0950.02214.03
5.4.70.0960.01814.07
5.4.60.1020.01714.05
5.4.50.1080.02014.06
5.4.40.1000.01613.96
5.4.30.0920.02214.06
5.4.20.0900.02114.05
5.4.10.0520.02714.04
5.4.00.0040.02213.72
5.3.290.0030.02213.12
5.3.280.0550.02413.17
5.3.270.1070.02413.10
5.3.260.0930.02213.09
5.3.250.0930.02113.09
5.3.240.0930.02313.17
5.3.230.0360.02113.15
5.3.220.0050.01813.07
5.3.210.0050.02313.12
5.3.200.0150.02713.12
5.3.190.0900.02313.08
5.3.180.0900.02313.17
5.3.170.0950.02213.08
5.3.160.0950.02013.07
5.3.150.0930.02113.15
5.3.140.1170.02413.06
5.3.130.1070.02813.06
5.3.120.1090.02213.11
5.3.110.1050.02713.07
5.3.100.0990.02712.81
5.3.90.0970.03412.80
5.3.80.1000.02312.79
5.3.70.0930.02012.92
5.3.60.1100.02012.87
5.3.50.0950.01812.73
5.3.40.0130.02212.77
5.3.30.0060.03512.77
5.3.20.0120.03912.68
5.3.10.1000.02512.64
5.3.00.1020.02512.61
5.2.170.1570.02711.16
5.2.160.1700.04011.00
5.2.150.1730.02711.16
5.2.140.1830.03311.19
5.2.130.1800.02711.13
5.2.120.1670.03711.12
5.2.110.1700.03310.95
5.2.100.1770.03711.15
5.2.90.1470.03010.96
5.2.80.1670.03310.93
5.2.70.1800.03311.00
5.2.60.1770.03011.09
5.2.50.1730.03010.92
5.2.40.1400.03311.07
5.2.30.1370.03710.90
5.2.20.1270.03010.80
5.2.10.1200.02710.82
5.2.00.1070.02710.68
5.1.60.1300.0179.86
5.1.50.1170.02710.07
5.1.40.1300.0309.95
5.1.30.1030.03010.41
5.1.20.1170.02710.29
5.1.10.1430.03010.22
5.1.00.0330.02010.14
5.0.50.0030.0238.41
5.0.40.0000.0238.49
5.0.30.0000.0338.22
5.0.20.0000.0278.35
5.0.10.0000.0238.14
5.0.00.0000.0338.27
4.4.90.0200.0178.02
4.4.80.0570.0178.02
4.4.70.0470.0208.02
4.4.60.0500.0178.02
4.4.50.0570.0178.02
4.4.40.0570.0278.02
4.4.30.0500.0178.02
4.4.20.0630.0108.02
4.4.10.0570.0138.02
4.4.00.0630.0238.02
4.3.110.0630.0208.02
4.3.100.0500.0138.02
4.3.90.0770.0178.02
4.3.80.0730.0278.02
4.3.70.0430.0238.02
4.3.60.0570.0138.02
4.3.50.0630.0138.02
4.3.40.0530.0208.02
4.3.30.0300.0178.02
4.3.20.0330.0208.02
4.3.10.0030.0138.02
4.3.00.0370.0138.02

preferences:
42.52 ms | 401 KiB | 5 Q