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