php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /opt/php-7.0.1/sapi/phpdbg/tests/
upload
files >> //opt/php-7.0.1/sapi/phpdbg/tests/finish_leave_001.phpt

--TEST--
test finish and leave commands
--PHPDBG--
b bar
b 5
r
finish
leave
leave
q
--EXPECTF--
[Successful compilation of %s]
prompt> [Breakpoint #0 added at bar]
prompt> [Breakpoint #1 added at %s:5]
prompt> [Breakpoint #0 in bar() at %s:9, hits: 1]
>00009:     return "world";
 00010: }
 00011: 
prompt> [Breakpoint #1 at %s:5, hits: 1]
>00005:     return ["hello", $other];
 00006: }
 00007: 
prompt> [Breaking for leave at %s:5]
>00005:     return ["hello", $other];
 00006: }
 00007: 
prompt> [Already at the end of the function]
prompt> 
--FILE--
<?php
function foo() {
    $other = bar();
    
    return ["hello", $other];
}

function bar() {
    return "world";
}

foo();
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`