3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mystring = 'Managed WordPress Hosting'; $findme = 'WordPress'; if (str_contains($mystring, $findme)) { echo "The string has been found"; } else { echo "String not found"; }

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.0210.00522.82
8.3.50.0120.00616.28
8.3.40.0100.00618.76
8.3.30.0080.00618.38
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.180.0110.01125.92
8.2.170.0040.01118.96
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0040.00421.00
8.2.110.0090.00020.47
8.2.100.0120.00618.24
8.2.90.0040.00417.84
8.2.80.0050.00219.14
8.2.70.0060.00467.07
8.2.60.0050.00417.50
8.2.50.0080.00617.44
8.2.40.0070.00718.48
8.2.30.0080.00418.28
8.2.20.0050.00717.68
8.2.10.0090.00318.34
8.2.00.0090.00318.33
8.1.280.0120.00925.92
8.1.270.0030.01024.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00719.01
8.1.230.0060.00620.79
8.1.220.0050.00317.74
8.1.210.0040.00418.94
8.1.200.0030.00517.09
8.1.190.0070.00517.18
8.1.180.0060.00817.48
8.1.170.0080.00517.77
8.1.160.0070.00617.72
8.1.150.0070.00517.87
8.1.140.0080.00417.89
8.1.130.0080.00318.66
8.1.120.0120.00217.35
8.1.110.0100.00317.29
8.1.100.0070.00314.65
8.1.90.0110.00217.32
8.1.80.0100.00417.23
8.1.70.0080.00517.32
8.1.60.0100.00717.47
8.1.50.0110.00517.39
8.1.40.0090.00617.36
8.1.30.0090.00717.51
8.1.20.0080.00417.44
8.1.10.0080.00417.46
8.1.00.0090.00517.35
8.0.300.0040.00419.98
8.0.290.0000.00816.63
8.0.280.0060.00617.53
8.0.270.0100.00216.71
8.0.260.0080.00317.41
8.0.250.0060.00316.77
8.0.240.0090.00416.86
8.0.230.0060.00716.73
8.0.220.0070.00616.74
8.0.210.0080.00516.69
8.0.200.0110.00215.10
8.0.190.0090.00516.76
8.0.180.0050.00816.71
8.0.170.0080.00516.74
8.0.160.0070.00516.74
8.0.150.0090.00616.72
8.0.140.0050.00716.72
8.0.130.0080.00415.99
8.0.120.0100.00315.71
8.0.110.0080.00315.97
8.0.100.0060.00516.10
8.0.90.0070.00316.29
8.0.80.0090.00516.09
8.0.70.0070.00616.12
8.0.60.0090.00515.86
8.0.50.0070.00615.84
8.0.30.0090.00516.27
8.0.20.0090.00816.55
8.0.10.0070.00916.47
8.0.00.0070.00816.54
7.4.330.0050.00316.03
7.4.320.0080.00516.43
7.4.300.0100.00416.52
7.4.290.0070.00416.54
7.4.280.0110.00416.50
7.4.270.0060.00316.49
7.4.260.0070.00415.89
7.4.250.0050.00715.59
7.4.240.0060.00415.69
7.4.230.0070.00315.78
7.4.220.0060.00515.70
7.4.210.0070.00616.05
7.4.200.0070.00615.83
7.4.190.0060.00515.72
7.4.180.0060.00615.75
7.4.160.0080.00616.05
7.4.150.0070.00816.11
7.4.140.0080.00816.05
7.4.130.0090.00616.13
7.4.120.0100.00616.18
7.4.110.0090.00916.20
7.4.100.0090.00816.21
7.4.90.0090.00916.19
7.4.80.0090.00816.30
7.4.70.0090.00816.17
7.4.60.0100.00716.21
7.4.50.0100.00716.18
7.4.40.0100.00816.19
7.4.30.0090.00816.19
7.4.20.0090.00816.19
7.4.10.0110.00716.18
7.4.00.0080.00816.22
7.3.330.0110.00416.32
7.3.320.0100.00414.91
7.3.310.0090.00415.37
7.3.300.0070.00515.55
7.3.290.0080.00615.69
7.3.280.0090.00615.72
7.3.270.0080.00815.89
7.3.260.0110.00615.96
7.3.250.0100.00715.95
7.3.240.0090.00715.99
7.3.230.0110.00816.03
7.3.220.0110.00715.99
7.3.210.0100.00815.98
7.3.200.0090.00815.97
7.3.190.0110.00716.06
7.3.180.0100.00916.05
7.3.170.0110.00716.08
7.3.160.0100.00716.04
7.3.150.0090.00816.03
7.3.140.0100.00916.05
7.3.130.0100.00816.04
7.3.120.0100.00815.99
7.3.110.0120.00715.97
7.3.100.0110.00716.03
7.3.90.0110.00716.09
7.3.80.0100.00816.04
7.3.70.0110.00616.04
7.3.60.0100.00716.05
7.3.50.0100.00816.09
7.3.40.0110.00816.06
7.3.30.0100.00916.04
7.3.20.0120.00816.58
7.3.10.0100.00916.48
7.3.00.0120.00816.51
7.2.340.0140.00916.03
7.2.330.0140.00816.07
7.2.320.0140.00716.07
7.2.310.0140.00716.11
7.2.300.0150.00716.08
7.2.290.0140.00816.10
7.2.280.0140.00816.08
7.2.270.0120.01016.09
7.2.260.0150.00816.05
7.2.250.0120.00916.11
7.2.240.0130.00916.11
7.2.230.0130.00916.08
7.2.220.0150.00616.13
7.2.210.0130.00816.07
7.2.200.0150.00816.17
7.2.190.0140.00816.13
7.2.180.0140.00816.15
7.2.170.0150.00716.17
7.2.160.0140.00916.14
7.2.150.0230.01016.72
7.2.140.0150.00816.71
7.2.130.0140.00916.77
7.2.120.0160.00816.73
7.2.110.0170.00916.76
7.2.100.0150.00916.74
7.2.90.0160.00716.71
7.2.80.0150.01016.69
7.2.70.0160.00916.72
7.2.60.0150.00716.71
7.2.50.0150.01016.70
7.2.40.0160.00716.71
7.2.30.0150.00816.74
7.2.20.0140.00816.73
7.2.10.0150.00816.71
7.2.00.0180.00616.69
7.1.10.0060.00679.33

preferences:
52.51 ms | 401 KiB | 5 Q