3v4l.org

run code in 300+ PHP versions simultaneously
<?php $short_description = 'xxxxxxxx'; var_dump(str_len(count_chars($short_description, 3)));

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.0150.00322.06
8.3.40.0110.01118.70
8.3.30.0110.00318.71
8.3.20.0000.00820.21
8.3.10.0080.00023.57
8.3.00.0000.00823.48
8.2.180.0090.00616.88
8.2.170.0140.00322.96
8.2.160.0100.00320.44
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0040.00419.84
8.2.120.0060.00326.35
8.2.110.0060.00322.19
8.2.100.0070.00417.80
8.2.90.0050.00319.03
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0000.00822.28
8.2.30.0030.00319.30
8.2.20.0040.00417.72
8.2.10.0000.00818.04
8.2.00.0050.00218.04
8.1.280.0100.00725.92
8.1.270.0000.00820.39
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00623.92
8.1.230.0000.01119.14
8.1.220.0050.00317.74
8.1.210.0070.00318.77
8.1.200.0090.00017.35
8.1.190.0040.00417.10
8.1.180.0070.00018.10
8.1.170.0040.00418.66
8.1.160.0000.00820.61
8.1.150.0000.00818.86
8.1.140.0030.00519.49
8.1.130.0070.00017.59
8.1.120.0030.00317.36
8.1.110.0000.00817.29
8.1.100.0040.00417.39
8.1.90.0000.00817.29
8.1.80.0020.00517.45
8.1.70.0070.00017.41
8.1.60.0000.00717.52
8.1.50.0000.00817.49
8.1.40.0040.00417.51
8.1.30.0000.00717.57
8.1.20.0000.00817.66
8.1.10.0000.00717.57
8.1.00.0060.00317.50
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.42
8.0.270.0030.00317.10
8.0.260.0030.00317.17
8.0.250.0030.00316.91
8.0.240.0080.00016.82
8.0.230.0000.00716.81
8.0.220.0040.00416.91
8.0.210.0040.00416.92
8.0.200.0040.00416.98
8.0.190.0110.00016.99
8.0.180.0070.00016.84
8.0.170.0040.00416.82
8.0.160.0000.00716.89
8.0.150.0040.00416.81
8.0.140.0030.00616.88
8.0.130.0060.00013.31
8.0.120.0000.00916.81
8.0.110.0000.00816.93
8.0.100.0040.00416.87
8.0.90.0040.00416.70
8.0.80.0060.00916.93
8.0.70.0000.00716.71
8.0.60.0040.00416.92
8.0.50.0000.00816.83
8.0.30.0100.00717.11
8.0.20.0130.00817.40
8.0.10.0040.00417.07
8.0.00.0090.00916.71
7.4.330.0000.00516.71
7.4.320.0030.00316.42
7.4.300.0070.00016.59
7.4.290.0070.00016.58
7.4.280.0000.00916.43
7.4.270.0000.00716.43
7.4.260.0030.00316.60
7.4.250.0000.00816.44
7.4.240.0030.00416.53
7.4.230.0070.00016.39
7.4.220.0100.01016.51
7.4.210.0070.01016.48
7.4.200.0050.00216.69
7.4.160.0100.00516.52
7.4.150.0110.00717.40
7.4.140.0080.01117.86
7.4.130.0060.01216.48
7.4.120.0060.01116.56
7.4.110.0070.01016.29
7.4.100.0130.00916.45
7.4.90.0070.01016.49
7.4.80.0100.01319.39
7.4.70.0130.00316.40
7.4.60.0070.01116.57
7.4.50.0120.00316.43
7.4.40.0100.00716.36
7.4.30.0060.00916.43
7.4.00.0070.00814.96
7.3.330.0080.00013.23
7.3.320.0050.00013.14
7.3.310.0030.00316.21
7.3.300.0000.00716.05
7.3.290.0070.01016.23
7.3.280.0110.00916.27
7.3.270.0140.00417.40
7.3.260.0100.00716.18
7.3.240.0060.01516.31
7.3.230.0100.00716.39
7.3.210.0100.00716.31
7.3.200.0140.00319.39
7.3.190.0070.01116.39
7.3.180.0090.00916.41
7.3.170.0160.00016.34
7.3.160.0070.01016.42
7.3.120.0100.00514.65
7.3.110.0060.00914.51
7.3.100.0080.00514.74
7.3.90.0080.00414.84
7.3.80.0100.00514.69
7.3.70.0070.00414.67
7.3.60.0030.01214.55
7.3.50.0060.00914.63
7.3.40.0090.00514.77
7.3.30.0110.00414.60
7.3.20.0060.00716.60
7.3.10.0050.00716.46
7.3.00.0060.00616.55
7.2.330.0070.01116.30
7.2.320.0140.00916.60
7.2.310.0050.01116.59
7.2.300.0120.00916.67
7.2.290.0100.01316.32
7.2.250.0060.01315.02
7.2.240.0090.00514.82
7.2.230.0040.00814.77
7.2.220.0060.00614.74
7.2.210.0050.01014.81
7.2.200.0050.01114.95
7.2.190.0050.00914.69
7.2.180.0060.00614.88
7.2.170.0050.01014.88
7.2.160.0040.01114.55
7.2.150.0090.00616.49
7.2.140.0070.01116.96
7.2.130.0030.01216.83
7.2.120.0070.00716.52
7.2.110.0070.00716.70
7.2.100.0110.00516.79
7.2.90.0060.00516.69
7.2.80.0050.00816.77
7.2.70.0090.00516.72
7.2.60.0070.00816.71
7.2.50.0050.00716.76
7.2.40.0080.00316.84
7.2.30.0090.00416.87
7.2.20.0090.00516.70
7.2.10.0110.00416.90
7.2.00.0020.01017.60
7.1.330.0040.01015.47
7.1.320.0080.00515.39
7.1.310.0070.00715.53
7.1.300.0040.00615.60
7.1.290.0110.00415.49
7.1.280.0070.00515.66
7.1.270.0060.01015.49
7.1.260.0050.00715.48
7.1.250.0000.01515.64
7.1.200.0000.01315.38
7.1.100.0070.01017.86
7.1.70.0040.00716.91
7.1.60.0100.01319.27
7.1.50.0070.00716.98
7.1.00.0070.07322.44
7.0.200.0000.00716.71
7.0.60.0100.07321.84
7.0.50.0070.03717.81
7.0.40.0000.08020.06
7.0.30.0270.06320.16
7.0.20.0370.08020.16
7.0.10.0100.05020.16
7.0.00.0030.04320.15
5.6.280.0000.03721.15
5.6.210.0100.07320.52
5.6.200.0100.06318.08
5.6.190.0030.04720.64
5.6.180.0400.04320.64
5.6.170.0170.04320.38
5.6.160.0070.07320.40
5.6.150.0100.07718.08
5.6.140.0130.07318.18
5.6.130.0100.06718.21
5.6.120.0170.06021.01
5.6.110.0030.05320.99
5.6.100.0070.05321.10
5.6.90.0030.04020.96
5.6.80.0030.07720.37
5.5.350.0100.08020.38
5.5.340.0030.03717.98
5.5.330.0000.04320.23
5.5.320.0570.07020.20
5.5.310.0300.05320.21
5.5.300.0030.05017.91
5.5.290.0070.08017.91
5.5.280.0000.06320.95
5.5.270.0000.09020.75
5.5.260.0030.08020.84
5.5.250.0130.04320.46
5.5.240.0130.07020.23

preferences:
45.6 ms | 401 KiB | 5 Q