3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(strrpos("this is string","ring"));

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.01016.50
8.3.50.0140.00016.25
8.3.40.0090.00618.58
8.3.30.0070.00718.39
8.3.20.0040.00420.30
8.3.10.0050.00323.61
8.3.00.0070.00022.05
8.2.180.0070.01116.32
8.2.170.0150.00022.96
8.2.160.0130.00018.91
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00719.32
8.2.120.0050.00326.35
8.2.110.0040.00422.29
8.2.100.0100.00617.66
8.2.90.0050.00319.14
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0000.00817.80
8.2.50.0030.00618.10
8.2.40.0080.00020.61
8.2.30.0070.00019.17
8.2.20.0020.00517.97
8.2.10.0000.00817.85
8.2.00.0040.00417.91
8.1.280.0040.01125.92
8.1.270.0000.00722.05
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00320.87
8.1.230.0110.00019.16
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0080.00017.10
8.1.180.0040.00418.10
8.1.170.0030.00518.52
8.1.160.0000.00718.98
8.1.150.0040.00420.51
8.1.140.0000.00719.33
8.1.130.0030.00318.67
8.1.120.0000.00717.24
8.1.110.0040.00417.17
8.1.100.0070.00017.35
8.1.90.0070.00017.35
8.1.80.0070.00017.28
8.1.70.0030.00317.29
8.1.60.0000.00817.43
8.1.50.0040.00417.44
8.1.40.0000.00817.39
8.1.30.0060.00317.53
8.1.20.0060.00317.47
8.1.10.0050.00317.50
8.1.00.0050.00217.39
8.0.300.0040.00420.00
8.0.290.0000.00716.63
8.0.280.0070.00018.24
8.0.270.0000.00717.18
8.0.260.0000.00616.73
8.0.250.0000.00816.91
8.0.240.0000.00716.90
8.0.230.0000.00716.68
8.0.220.0000.00716.75
8.0.210.0000.00716.68
8.0.200.0040.00416.72
8.0.190.0030.00516.79
8.0.180.0030.00316.81
8.0.170.0040.00416.77
8.0.160.0000.00916.74
8.0.150.0000.00716.59
8.0.140.0000.00716.77
8.0.130.0030.00313.18
8.0.120.0020.00516.77
8.0.110.0040.00416.72
8.0.100.0000.00716.60
8.0.90.0000.00716.66
8.0.80.0170.00016.68
8.0.70.0000.00716.66
8.0.60.0000.00716.70
8.0.50.0000.00716.73
8.0.30.0100.00717.01
8.0.20.0120.00917.40
8.0.10.0040.00416.76
8.0.00.0030.01316.48
7.4.330.0030.00315.55
7.4.320.0030.00316.46
7.4.300.0000.00716.38
7.4.290.0070.00016.50
7.4.280.0030.00616.37
7.4.270.0000.00716.51
7.4.260.0030.00316.27
7.4.250.0040.00416.46
7.4.240.0000.00816.38
7.4.230.0040.00416.29
7.4.220.0180.00616.40
7.4.210.0100.00416.40
7.4.200.0050.00216.32
7.4.160.0060.00916.41
7.4.150.0100.00717.40
7.4.140.0090.00817.86
7.4.130.0100.00716.33
7.4.120.0080.01216.44
7.3.330.0000.00713.03
7.3.320.0000.00612.96
7.3.310.0000.00816.05
7.3.300.0030.00316.14
7.3.290.0030.00315.93
7.3.280.0080.00816.10
7.3.270.0040.01617.40
7.3.260.0090.00916.29
7.3.250.0150.01316.26
7.3.240.0100.00716.32
7.0.200.0100.00816.82

preferences:
43.48 ms | 401 KiB | 5 Q