Fatal error: Uncaught ValueError: substr_count(): Argument #4 ($length) must be contained in argument #1 ($haystack) in /in/dQ7Qi:6
Stack trace:
#0 /in/dQ7Qi(6): substr_count('010010101011011...', '1', 65, 10)
#1 {main}
thrown in /in/dQ7Qi on line 6
Process exited with code 255.
10
Notice: Undefined variable: i in /in/dQ7Qi on line 8
Notice: Undefined variable: best in /in/dQ7Qi on line 8
Notice: Undefined variable: bestCount in /in/dQ7Qi on line 8
NULL
NULL
NULL
Output for 7.3.32 - 7.3.33, 7.4.26
10NULL
NULL
NULL
Output for 5.0.4 - 5.0.5
0
Notice: Undefined variable: i in /in/dQ7Qi on line 8
Notice: Undefined variable: best in /in/dQ7Qi on line 8
Notice: Undefined variable: bestCount in /in/dQ7Qi on line 8
NULL
NULL
NULL
0
Notice: Undefined variable: i in /in/dQ7Qi on line 8
Notice: Undefined variable: best in /in/dQ7Qi on line 8
Notice: Undefined variable: bestCount in /in/dQ7Qi on line 8
NULL
NULL
NULL