1--TEST-- 2Bug #45166 (substr() ) 3--FILE-- 4<?php 5 echo substr('cd', -3) . "\n"; 6?> 7===DONE=== 8--EXPECT-- 9cd 10===DONE===