pubObj($x); cls::pubCls($x); $obj->pubHardBreak($x); } function test_sleep() { $a = 1; // $a will be set to 0 by debugger after interrupt while ($a == 1) { sleep(1); } return $a; } // The test harness has started executing this program, but we need to ensure // the debugger client the harness has also started is ready for the program to // proceed to the first interrupt site. waitForClientToGetBusy("web_request"); test_break(); test_sleep(); echo "request done";