3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = "instructions and recipes"; if (strrpos(" $i ", " instr") == true) {print 1;}

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.0130.01016.75
8.3.50.0110.00416.53
8.3.40.0040.01118.85
8.3.30.0170.00320.52
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.180.0090.00625.92
8.2.170.0070.00722.96
8.2.160.0130.00322.96
8.2.150.0100.00325.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00026.35
8.2.110.0060.00321.00
8.2.100.0090.00317.91
8.2.90.0000.00817.84
8.2.80.0040.00419.03
8.2.70.0090.00017.50
8.2.60.0040.00417.63
8.2.50.0080.00018.05
8.2.40.0000.00718.09
8.2.30.0040.00417.93
8.2.20.0080.00017.94
8.2.10.0000.00719.20
8.2.00.0040.00419.17
8.1.280.0070.01125.92
8.1.270.0000.00823.99
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00323.77
8.1.230.0040.00820.87
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00917.66
8.1.190.0060.00317.35
8.1.180.0040.00418.10
8.1.170.0000.00717.62
8.1.160.0030.00718.89
8.1.150.0040.00418.80
8.1.140.0030.00318.88
8.1.130.0000.00720.09
8.1.120.0000.00717.34
8.1.110.0030.00517.35
8.1.100.0080.00017.48
8.1.90.0060.00317.45
8.1.80.0030.00517.49
8.1.70.0030.00717.51
8.1.60.0000.00917.48
8.1.50.0040.00417.41
8.1.40.0080.00017.43
8.1.30.0000.01017.65
8.1.20.0000.00817.54
8.1.10.0000.00717.37
8.1.00.0040.00417.45
8.0.300.0040.00420.02
8.0.290.0060.00316.63
8.0.280.0030.00318.36
8.0.270.0000.00718.00
8.0.260.0070.00020.14
8.0.250.0030.00316.95
8.0.240.0000.00716.82
8.0.230.0070.00016.84
8.0.220.0040.00416.75
8.0.210.0000.00716.84
8.0.200.0040.00417.00
8.0.190.0000.00716.84
8.0.180.0050.00316.91
8.0.170.0050.00316.88
8.0.160.0000.00716.78
8.0.150.0040.00416.77
8.0.140.0080.00016.84
8.0.130.0000.00513.27
8.0.120.0040.00416.73
8.0.110.0040.00416.78
8.0.100.0050.00216.83
8.0.90.0000.00816.71
8.0.80.0120.00616.78
8.0.70.0070.00016.68
8.0.60.0020.00516.89
8.0.50.0070.00016.84
8.0.30.0100.00716.82
8.0.20.0100.00816.77
8.0.10.0000.00717.07
8.0.00.0140.00416.77
7.4.330.0000.00515.55
7.4.320.0040.00416.55
7.4.300.0030.00316.60
7.4.290.0050.00316.58
7.4.280.0040.00416.47
7.4.270.0030.00616.58
7.4.260.0060.00013.31
7.4.250.0030.00316.55
7.4.240.0050.00316.45
7.4.230.0070.00016.52
7.4.220.0030.00316.53
7.4.210.0070.00716.54
7.4.200.0040.00416.67
7.4.130.0100.00916.47
7.4.120.0060.01316.48
7.4.110.0090.00916.46
7.4.100.0030.01316.38
7.4.90.0090.00616.54
7.4.80.0100.01419.39
7.4.70.0110.00616.52
7.4.60.0130.00316.50
7.4.50.0100.00616.27
7.4.40.0110.00815.92
7.4.30.0070.01016.34
7.4.20.0030.01216.21
7.4.10.0090.00616.33
7.4.00.0120.00316.43
7.3.330.0050.00316.29
7.3.320.0000.00513.11
7.3.310.0000.00616.26
7.3.300.0000.00616.21
7.3.290.0100.00716.19
7.3.280.0070.01416.18
7.3.260.0090.01316.28
7.3.240.0110.00716.47
7.3.230.0130.00616.37
7.3.210.0030.01316.04
7.3.200.0060.00916.50
7.3.190.0100.00716.20
7.3.180.0090.00616.20
7.3.170.0030.01316.20
7.3.160.0130.00316.62
7.3.150.0110.00716.38
7.3.140.0090.00616.54
7.3.130.0130.00316.25
7.3.120.0060.00916.26
7.3.110.0100.01416.25
7.3.100.0060.01216.14
7.3.90.0030.01316.18
7.3.80.0090.00616.51
7.3.70.0100.00516.29
7.3.60.0070.00716.26
7.3.50.0150.00016.41
7.3.40.0000.01416.34
7.3.30.0060.00916.19
7.3.20.0100.00716.37
7.3.10.0130.00316.20
7.3.00.0090.00916.44
7.2.330.0130.01016.59
7.2.320.0120.00316.30
7.2.310.0110.00716.45
7.2.300.0080.00916.55
7.2.290.0060.01016.32
7.2.280.0040.01216.50
7.2.270.0070.01016.46
7.2.260.0110.00716.49
7.2.250.0100.00716.39
7.2.240.0100.00916.52
7.2.230.0110.01116.32
7.2.220.0030.01216.48
7.2.210.0120.00416.32
7.2.200.0160.00016.28
7.2.190.0160.00016.60
7.2.180.0080.00816.32
7.2.170.0060.00916.38
7.2.160.0100.00616.30
7.2.150.0070.01116.60
7.2.140.0060.00916.52
7.2.130.0060.01016.32
7.2.120.0100.00616.64
7.2.110.0140.00316.41
7.2.100.0040.01216.48
7.2.90.0100.00616.51
7.2.80.0030.01316.46
7.2.70.0120.00416.39
7.2.60.0130.00316.45
7.2.50.0090.00616.42
7.2.40.0070.01016.51
7.2.30.0030.01316.57
7.2.20.0070.01116.56
7.2.10.0100.00716.62
7.2.00.0090.00916.35

preferences:
70.2 ms | 400 KiB | 5 Q