1--TEST--
2Bug #33605 (substr_compare crashes)
3--FILE--
4<?php
5$res = substr_compare("aa", "a", -99999999, 0, 0);
6var_dump($res);
7
8?>
9--EXPECTF--
10Warning: substr_compare(): The length must be greater than zero in %s on line %d
11bool(false)
12