3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paddedContentType = ' ' . '% spaecail * char whateverjavascriptwhatever'; $isJavascriptPresent = strpos(strtolower($paddedContentType), 'javascript'); if ($isJavascriptPresent !== false) { echo 'yeah its there'; }

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.0080.00818.43
8.3.50.0090.00618.20
8.3.40.0120.00318.90
8.3.30.0090.00618.72
8.3.20.0040.00419.39
8.3.10.0040.00423.54
8.3.00.0070.00020.82
8.2.180.0110.00718.28
8.2.170.0140.00022.96
8.2.160.0030.01020.55
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0000.00917.91
8.2.120.0040.00426.35
8.2.110.0000.01019.07
8.2.100.0100.00317.72
8.2.90.0080.00017.50
8.2.80.0090.00017.97
8.2.70.0030.00517.93
8.2.60.0000.00818.22
8.2.50.0090.00018.10
8.2.40.0040.00419.34
8.2.30.0070.00019.25
8.2.20.0000.00718.03
8.2.10.0000.00717.98
8.2.00.0030.00517.64
8.1.280.0070.01425.92
8.1.270.0020.00523.99
8.1.260.0040.00426.35
8.1.250.0000.01428.09
8.1.240.0070.00322.13
8.1.230.0080.00322.13
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00917.25
8.1.190.0060.00317.00
8.1.180.0030.00618.10
8.1.170.0000.00718.37
8.1.160.0000.00718.83
8.1.150.0070.00018.81
8.1.140.0070.00022.18
8.1.130.0030.00620.36
8.1.120.0000.00717.29
8.1.110.0070.00017.40
8.1.100.0080.00017.25
8.1.90.0040.00417.38
8.1.80.0030.00517.29
8.1.70.0090.00017.37
8.1.60.0030.00717.52
8.1.50.0000.00717.38
8.1.40.0000.01117.45
8.1.30.0000.00817.43
8.1.20.0050.00217.64
8.1.10.0040.00417.51
8.1.00.0080.00017.33
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0030.00518.44
8.0.270.0070.00017.18
8.0.260.0030.00318.44
8.0.250.0110.00016.78
8.0.240.0030.00316.91
8.0.230.0070.00016.89
8.0.220.0050.00516.82
8.0.210.0030.00316.73
8.0.200.0000.00616.89
8.0.190.0040.00416.79
8.0.180.0050.00316.73
8.0.170.0060.00316.84
8.0.160.0000.00716.71
8.0.150.0000.00716.75
8.0.140.0060.00316.76
8.0.130.0000.00613.29
8.0.120.0000.00716.85
8.0.110.0040.00416.72
8.0.100.0000.00716.82
8.0.90.0000.00716.61
8.0.80.0070.00816.79
8.0.70.0040.00416.79
8.0.60.0040.00416.64
8.0.50.0070.00016.85
8.0.30.0060.01116.92
8.0.20.0140.00517.40
8.0.10.0000.00816.73
8.0.00.0090.00816.79
7.4.330.0040.00415.55
7.4.320.0030.00316.43
7.4.300.0000.00616.50
7.4.290.0000.00716.54
7.4.280.0030.00616.48
7.4.270.0000.00716.50
7.4.260.0030.00316.51
7.4.250.0050.00316.45
7.4.240.0000.00716.39
7.4.230.0030.00316.61
7.4.220.0040.00416.54
7.4.210.0030.01416.67
7.4.200.0000.00716.59
7.4.160.0070.00916.52
7.4.140.0130.00817.86
7.4.130.0110.00716.47
7.4.120.0080.01016.53
7.4.110.0160.00816.48
7.4.100.0140.00316.62
7.4.90.0070.01116.55
7.4.80.0140.00419.39
7.4.70.0140.00716.50
7.4.60.0160.00016.58
7.4.50.0100.00216.41
7.4.40.0090.00616.40
7.4.00.0070.01115.13
7.3.330.0000.00512.93
7.3.320.0060.00013.04
7.3.310.0040.00416.34
7.3.300.0000.00716.18
7.3.290.0040.00416.20
7.3.280.0090.00616.22
7.3.260.0090.00916.34
7.3.240.0090.00816.43
7.3.230.0130.00316.23
7.3.210.0090.00616.20
7.3.200.0070.00716.50
7.3.190.0210.00616.43
7.3.180.0090.00616.46
7.3.170.0110.00716.16
7.3.160.0160.00016.23
7.2.330.0200.00316.70
7.2.320.0140.01016.36
7.2.310.0100.01016.73
7.2.300.0120.00416.60
7.2.290.0070.01016.63
7.2.110.0150.00414.79
7.2.100.0090.00714.48
7.2.90.1080.01114.43
7.2.80.0730.01014.65
7.2.70.0490.01014.50
7.2.60.1180.01114.96
7.2.50.0730.01014.96
7.2.40.0130.00715.04
7.2.30.0200.00715.03
7.2.20.0570.01014.71
7.2.10.0520.00814.94
7.2.00.1120.00714.93
7.1.230.0680.00613.75
7.1.220.0190.00013.85
7.1.210.0820.00013.70
7.1.200.0850.00413.66
7.1.190.0330.00613.76
7.1.180.0430.00313.89
7.1.170.0320.00413.51
7.1.160.0570.00513.46
7.1.150.0330.00813.63
7.1.140.0840.00813.99
7.1.130.0650.00713.83
7.1.120.1200.02113.83
7.1.110.1100.01013.84
7.1.100.1290.00413.78
7.1.90.1040.00714.05
7.1.80.1370.00714.05
7.1.70.1000.00813.56
7.1.60.1010.00731.70
7.1.50.0700.00731.70
7.1.40.1120.01031.87
7.1.30.0290.00831.80
7.1.20.1680.00431.21
7.1.10.0950.00713.64
7.1.00.1380.00313.21
5.6.380.0120.00414.01

preferences:
53.46 ms | 401 KiB | 5 Q