3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paddedContentType = ' ' . 'this'; $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.0110.00418.32
8.3.40.0070.00718.76
8.3.30.0040.01118.41
8.3.20.0040.00419.07
8.3.10.0000.00823.65
8.3.00.0040.00420.45
8.2.180.0040.01118.29
8.2.170.0030.01322.96
8.2.160.0040.00920.47
8.2.150.0040.00424.18
8.2.140.0070.00724.66
8.2.130.0040.00419.83
8.2.120.0070.00026.35
8.2.110.0060.00319.21
8.2.100.0040.00817.78
8.2.90.0080.00017.63
8.2.80.0030.00517.97
8.2.70.0000.00917.93
8.2.60.0020.00518.03
8.2.50.0040.00418.10
8.2.40.0040.00419.34
8.2.30.0050.00319.05
8.2.20.0070.00018.02
8.2.10.0000.00718.05
8.2.00.0000.00817.52
8.1.280.0070.00725.92
8.1.270.0080.00020.52
8.1.260.0060.00326.35
8.1.250.0020.00528.09
8.1.240.0080.00022.09
8.1.230.0040.00722.11
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00717.23
8.1.190.0060.00317.35
8.1.180.0060.00318.10
8.1.170.0030.00618.39
8.1.160.0000.00718.82
8.1.150.0000.00718.81
8.1.140.0040.00422.19
8.1.130.0000.00720.06
8.1.120.0070.00017.41
8.1.110.0040.00417.34
8.1.100.0000.00717.44
8.1.90.0040.00417.41
8.1.80.0000.00717.39
8.1.70.0030.00717.39
8.1.60.0000.01117.56
8.1.50.0030.00617.34
8.1.40.0070.00317.41
8.1.30.0060.00317.47
8.1.20.0060.00317.62
8.1.10.0050.00317.41
8.1.00.0030.00517.39
8.0.300.0080.00018.77
8.0.290.0040.00416.60
8.0.280.0070.00018.29
8.0.270.0000.00717.10
8.0.260.0000.00618.38
8.0.250.0070.00316.80
8.0.240.0030.00316.75
8.0.230.0040.00416.90
8.0.220.0020.00816.51
8.0.210.0050.00216.69
8.0.200.0060.00016.77
8.0.190.0040.00416.87
8.0.180.0040.00416.81
8.0.170.0030.00516.85
8.0.160.0070.00016.92
8.0.150.0000.00716.71
8.0.140.0080.00016.74
8.0.130.0000.00613.33
8.0.120.0080.00016.67
8.0.110.0050.00216.80
8.0.100.0050.00316.86
8.0.90.0030.00316.78
8.0.80.0060.00816.78
8.0.70.0030.00316.74
8.0.60.0080.00016.84
8.0.50.0000.00816.86
8.0.30.0070.01117.13
8.0.20.0120.01017.40
8.0.10.0000.00716.98
8.0.00.0160.00216.82
7.4.330.0050.00015.55
7.4.320.0000.00716.38
7.4.300.0000.00716.60
7.4.290.0000.00616.50
7.4.280.0030.00616.63
7.4.270.0070.00016.38
7.4.260.0000.00616.57
7.4.250.0040.00416.55
7.4.240.0070.00016.40
7.4.230.0030.00316.70
7.4.220.0080.00016.29
7.4.210.0090.00616.63
7.4.200.0000.00716.61
7.4.160.0050.01116.43
7.4.140.0100.00817.86
7.4.130.0100.00716.49
7.4.120.0090.01116.44
7.4.110.0090.00916.38
7.4.100.0070.01016.48
7.4.90.0120.02016.43
7.4.80.0070.01019.39
7.4.70.0030.01416.28
7.4.60.0070.01016.32
7.4.50.0070.00716.25
7.4.40.0160.00016.44
7.4.00.0050.01014.84
7.3.330.0020.00213.02
7.3.320.0030.00312.95
7.3.310.0040.00416.20
7.3.300.0030.00316.04
7.3.290.0060.00016.22
7.3.280.0110.00316.13
7.3.260.0110.00716.24
7.3.240.0110.01016.47
7.3.230.0080.00816.08
7.3.210.0160.00016.16
7.3.200.0060.01516.15
7.3.190.0200.00016.55
7.3.180.0060.00916.45
7.3.170.0180.00616.24
7.3.160.0100.01116.57
7.3.120.0000.01614.49
7.3.110.0080.00414.64
7.3.100.0040.01114.52
7.3.90.0120.00014.88
7.3.80.0090.00614.91
7.3.70.0090.00314.81
7.3.60.0080.00614.92
7.3.50.0000.01414.75
7.3.40.0030.01314.89
7.3.30.0060.00614.79
7.3.20.0040.00816.54
7.3.10.0120.00716.08
7.3.00.0080.00616.41
7.2.330.0120.01216.52
7.2.320.0150.00916.56
7.2.310.0070.01016.61
7.2.300.0100.00716.30
7.2.290.0140.00816.55
7.2.250.0040.01414.93
7.2.240.0110.00715.11
7.2.230.0110.00714.88
7.2.220.0070.01015.04
7.2.210.0030.01314.88
7.2.200.0000.01214.69
7.2.190.0030.01615.04
7.2.180.0110.00715.00
7.2.170.0090.00914.96
7.2.130.0100.00716.07
7.2.120.0160.00616.09
7.2.110.0260.01515.28
7.2.100.0310.00815.53
7.2.90.0380.00615.62
7.2.80.0180.00415.33
7.2.70.0260.01315.72
7.2.60.0240.00815.63
7.2.50.0410.01015.78
7.2.40.0350.00915.59
7.2.30.0510.00715.37
7.2.20.0170.00715.53
7.2.10.0590.01215.52
7.2.00.0520.00515.62
7.1.330.0030.01015.90
7.1.320.0060.00615.94
7.1.310.0070.01015.85
7.1.300.0000.01415.54
7.1.290.0030.01315.70
7.1.280.0060.00615.49
7.1.270.0030.01015.79
7.1.260.0060.00615.71
7.1.250.0070.01815.43
7.1.230.0550.00313.86
7.1.220.0520.01013.84
7.1.210.0160.00313.85
7.1.200.0150.00313.91
7.1.190.0740.01313.45
7.1.180.0440.00613.79
7.1.170.0560.00713.66
7.1.160.0440.01613.97
7.1.150.0400.00513.54
7.1.140.0680.00713.68
7.1.130.0810.00313.62
7.1.120.0990.00713.75
7.1.110.0980.00713.60
7.1.100.0870.00613.63
7.1.90.0700.00013.61
7.1.80.0750.00713.68
7.1.70.0760.00313.67
7.1.60.0920.00331.44
7.1.50.1160.01031.39
7.1.40.1220.01031.86
7.1.30.1690.01331.86
7.1.20.0830.01231.85
7.1.10.1070.00613.56
7.1.00.0670.00713.74
5.6.380.0210.00314.42

preferences:
37.45 ms | 400 KiB | 5 Q