3v4l.org

run code in 300+ PHP versions simultaneously
<?php $description_data = $_helper->categoryAttribute($_category, $_description, 'description'); $size_check = strlen($description_data); if ($size_check < 565) { return "<span class='read-more' id='togglr'>Read More</span>"; }

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.40.0070.00718.80
8.3.30.0100.00319.21
8.3.20.0040.00420.21
8.3.10.0000.00823.59
8.3.00.0080.00020.89
8.2.170.0090.00622.96
8.2.160.0100.00620.46
8.2.150.0050.00324.18
8.2.140.0050.00224.66
8.2.130.0020.00526.16
8.2.120.0040.00422.30
8.2.110.0030.00720.38
8.2.100.0170.00417.54
8.2.90.0050.00219.17
8.2.80.0040.00417.97
8.2.70.0060.00317.62
8.2.60.0040.00417.80
8.2.50.0080.00318.07
8.2.40.0030.00619.82
8.2.30.0040.00418.11
8.2.20.0080.00017.61
8.2.10.0070.00018.05
8.2.00.0050.00317.73
8.1.270.0060.00322.20
8.1.260.0090.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00322.05
8.1.230.0070.00422.11
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0060.00317.21
8.1.190.0000.00817.10
8.1.180.0000.00718.10
8.1.170.0040.00418.72
8.1.160.0040.00421.88
8.1.150.0040.00418.50
8.1.140.0050.00317.21
8.1.130.0000.00817.78
8.1.120.0040.00317.23
8.1.110.0000.00817.30
8.1.100.0040.00417.31
8.1.90.0020.00517.21
8.1.80.0000.00717.28
8.1.70.0050.00517.32
8.1.60.0040.00417.33
8.1.50.0040.00417.39
8.1.40.0050.00517.45
8.1.30.0080.00417.58
8.1.20.0040.00417.47
8.1.10.0040.00417.54
8.1.00.0070.00017.46
8.0.300.0040.00418.77
8.0.290.0000.00816.93
8.0.280.0000.00818.26
8.0.270.0040.00417.28
8.0.260.0000.00617.06
8.0.250.0050.00316.86
8.0.240.0000.00716.91
8.0.230.0070.00316.99
8.0.220.0050.00216.89
8.0.210.0040.00416.77
8.0.200.0030.00316.88
8.0.190.0040.00416.95
8.0.180.0000.00816.99
8.0.170.0030.00516.83
8.0.160.0030.00516.82
8.0.150.0050.00316.71
8.0.140.0040.00416.71
8.0.130.0030.00313.27
8.0.120.0000.00716.85
8.0.110.0040.00416.72
8.0.100.0020.00516.78
8.0.90.0000.00716.70
8.0.80.0090.00616.87
8.0.70.0040.00416.84
8.0.60.0000.00916.75
8.0.50.0040.00316.84
8.0.30.0090.01416.89
8.0.20.0120.00617.40
8.0.10.0020.00516.86
8.0.00.0120.00716.69
7.4.330.0000.00515.00
7.4.320.0070.00016.47
7.4.300.0000.00716.53
7.4.290.0030.00316.42
7.4.280.0000.00716.54
7.4.270.0030.00316.51
7.4.260.0030.00316.45
7.4.250.0040.00416.40
7.4.240.0010.00616.42
7.4.230.0050.00216.28
7.4.220.0100.00716.33
7.4.210.0050.00916.38
7.4.200.0070.00016.27
7.4.190.0000.00716.61
7.4.160.0140.00716.50
7.4.150.0030.01517.40
7.4.140.0110.00817.86
7.4.130.0100.00816.42
7.4.120.0100.01016.45
7.4.110.0110.00716.40
7.4.100.0120.01216.52
7.4.90.0100.00716.50
7.4.80.0160.00319.39
7.4.70.0120.00316.50
7.4.60.0040.01116.20
7.4.50.0050.00316.51
7.4.40.0100.00616.31
7.4.30.0060.00916.42
7.4.00.0050.00915.00
7.3.330.0030.00313.11
7.3.320.0020.00213.11
7.3.310.0030.00316.23
7.3.300.0040.00416.30
7.3.290.0060.00916.30
7.3.280.0110.00816.30
7.3.270.0170.00317.40
7.3.260.0100.00716.50
7.3.250.0130.00416.39
7.3.240.0120.00616.38
7.3.230.0150.00616.39
7.3.210.0100.01416.18
7.3.200.0040.01319.39
7.3.190.0090.01216.31
7.3.180.0150.00316.23
7.3.170.0070.00716.30
7.3.160.0130.00916.39
7.3.120.0140.00214.85
7.3.110.0070.01014.74
7.3.100.0030.00614.50
7.3.90.0040.01114.80
7.3.80.0000.01214.50
7.3.70.0100.00314.78
7.3.60.0070.00314.83
7.3.50.0000.01214.54
7.3.40.0080.00714.66
7.3.30.0070.00714.48
7.3.20.0100.00016.68
7.3.10.0040.00816.76
7.3.00.0030.01316.45
7.2.330.0070.01116.49
7.2.320.0140.00316.69
7.2.310.0140.00316.40
7.2.300.0070.01016.22
7.2.290.0140.00916.54
7.2.250.0060.01214.65
7.2.240.0130.00715.02
7.2.230.0070.01115.07
7.2.220.0120.00614.84
7.2.210.0030.01314.60
7.2.200.0040.00714.95
7.2.190.0000.01215.02
7.2.180.0040.01414.91
7.2.170.0060.00914.75
7.2.130.0000.01216.76
7.2.120.0110.00016.84
7.2.110.0060.00316.50
7.2.100.0070.00716.80
7.2.90.0040.00816.97
7.2.80.0090.00616.89
7.2.70.0040.01116.50
7.2.60.0060.00316.75
7.2.50.0030.01116.63
7.2.40.0090.00616.50
7.2.30.0110.00016.80
7.2.20.0000.00916.57
7.2.10.0060.00316.86
7.2.00.0070.00316.77
7.1.330.0030.01015.50
7.1.320.0000.01315.30
7.1.310.0070.00315.70
7.1.300.0070.00715.61
7.1.290.0060.01015.64
7.1.280.0040.01115.33
7.1.270.0040.00415.41
7.1.260.0040.01115.42
7.1.250.0120.00315.37
7.1.200.0040.01115.38
7.1.70.0000.00716.88
7.1.60.0100.01419.46
7.1.50.0100.01316.79
7.1.00.0030.07722.45
7.0.200.0030.00316.52
7.0.140.0000.07722.09
7.0.60.0200.06719.87
7.0.50.0000.05017.84
7.0.40.0030.04720.05
7.0.30.0230.08020.09
7.0.20.0270.06320.20
7.0.10.0300.08020.02
7.0.00.0030.08020.08
5.6.280.0030.07320.92
5.6.210.0100.04320.55
5.6.200.0100.07018.08
5.6.190.0070.08720.69
5.6.180.3430.04320.75
5.6.170.0270.07020.48
5.6.160.0000.06020.49
5.6.150.0070.08018.14
5.6.140.0030.04318.08
5.6.130.0070.04718.20
5.6.120.0000.04720.98
5.6.110.0030.09021.00
5.6.100.0170.07321.04
5.6.90.0100.08020.96
5.6.80.0070.07020.44
5.6.70.0000.05320.46
5.5.350.0200.07720.32
5.5.340.0000.07317.95
5.5.330.0200.03720.07
5.5.320.0530.07320.41
5.5.310.0370.07320.41
5.5.300.0030.05317.89
5.5.290.0100.07317.89
5.5.280.0000.09020.76
5.5.270.0070.06720.79
5.5.260.0170.02720.72
5.5.250.0000.04320.71
5.5.240.0070.06720.07
5.4.450.0700.05319.45
5.4.440.0900.06019.45
5.4.430.0600.06019.64
5.4.420.0600.00019.35
5.4.410.0100.06018.91
5.4.400.0430.06318.75
5.4.390.0230.05318.72
5.4.380.0070.06318.59
5.4.370.0300.03318.71
5.4.360.0100.04718.61
5.4.350.0080.03211.97
5.4.340.0050.03611.97
5.4.320.0090.04312.46
5.4.310.0090.05012.45
5.4.300.0090.03112.46
5.4.290.0080.05612.45
5.4.280.0100.04912.35
5.4.270.0090.04712.35
5.4.260.0090.05112.35
5.4.250.0090.05212.35
5.4.240.0100.05012.35
5.4.230.0100.05112.34
5.4.220.0110.04812.34
5.4.210.0100.04812.34
5.4.200.0110.05112.34
5.4.190.0110.05112.34
5.4.180.0070.04512.34
5.4.170.0100.03712.35
5.4.160.0070.03812.35
5.4.150.0150.03712.34
5.4.140.0120.04212.03
5.4.130.0090.03912.01
5.4.120.0040.04611.97
5.4.110.0090.04011.96
5.4.100.0080.04011.97
5.4.90.0080.03811.96
5.4.80.0080.05411.97
5.4.70.0080.05211.97
5.4.60.0120.04811.96
5.4.50.0060.05711.96
5.4.40.0060.04011.95
5.4.30.0070.04511.95
5.4.20.0060.05411.95
5.4.10.0040.04211.95
5.4.00.0090.03811.44
5.3.290.0080.05012.80
5.3.280.0110.04412.71
5.3.270.0050.05612.73
5.3.260.0110.05112.72
5.3.250.0070.05412.72
5.3.240.0100.05112.71
5.3.230.0120.04112.70
5.3.220.0080.05312.68
5.3.210.0090.05212.68
5.3.200.0110.04712.68
5.3.190.0160.05012.68
5.3.180.0110.04912.68
5.3.170.0070.05012.67
5.3.160.0100.05412.67
5.3.150.0080.05912.67
5.3.140.0130.04612.66
5.3.130.0080.06212.66
5.3.120.0120.06412.66
5.3.110.0110.06312.66
5.3.100.0110.06312.11
5.3.90.0070.05212.08
5.3.80.0050.06412.07
5.3.70.0090.05612.07
5.3.60.0130.05012.07
5.3.50.0070.05612.00
5.3.40.0080.05612.00
5.3.30.0140.05311.94
5.3.20.0130.04011.73
5.3.10.0090.04911.69
5.3.00.0100.04611.68
5.2.170.0100.0399.18
5.2.160.0080.0369.18
5.2.150.0090.0349.18
5.2.140.0080.0329.18
5.2.130.0080.0389.14
5.2.120.0100.0369.14
5.2.110.0150.0289.14
5.2.100.0140.0339.14
5.2.90.0120.0389.14
5.2.80.0080.0399.14
5.2.70.0080.0399.14
5.2.60.0130.0609.09
5.2.50.0080.0559.06
5.2.40.0070.0479.04
5.2.30.0100.0419.01
5.2.20.0070.0429.00
5.2.10.0080.0428.92
5.2.00.0080.0518.78
5.1.60.0090.0418.07
5.1.50.0060.0408.06
5.1.40.0060.0418.05
5.1.30.0120.0378.39
5.1.20.0070.0368.42
5.1.10.0090.0328.14
5.1.00.0070.0338.14
5.0.50.0010.0316.62
5.0.40.0060.0266.48
5.0.30.0070.0406.29
5.0.20.0060.0276.26
5.0.10.0060.0286.24
5.0.00.0030.0426.23
4.4.90.0060.0224.78
4.4.80.0040.0224.75
4.4.70.0040.0214.76
4.4.60.0050.0194.76
4.4.50.0030.0224.77
4.4.40.0060.0314.70
4.4.30.0050.0214.75
4.4.20.0040.0224.84
4.4.10.0020.0244.85
4.4.00.0040.0314.75
4.3.110.0040.0224.66
4.3.100.0050.0194.67
4.3.90.0050.0174.63
4.3.80.0050.0294.59
4.3.70.0040.0224.63
4.3.60.0040.0214.63
4.3.50.0040.0424.63
4.3.40.0040.0334.54
4.3.30.0020.0233.28
4.3.20.0060.0223.25
4.3.10.0070.0253.22
4.3.00.0170.0177.67

preferences:
56.01 ms | 400 KiB | 5 Q