1--TEST--
2Bug #74041: substr_count with length=0 broken
3--FILE--
4<?php
5
6var_dump(substr_count("aaa", "a", 0, 0));
7var_dump(substr_count("", "a", 0, 0));
8
9?>
10--EXPECT--
11int(0)
12int(0)
13