2 // Test non-main file line breaks
3 require('remote_breakpoint_set_helper.inc');
5 // Large-line line breakpoints
6 var_dump(bar(new Foo()));
8 // Test call breakpoints
11 // Test method breakpoints
12 (new Foo())->method();
13 (new Foo())->method2();
15 // Test return breakpoints
20 for ($i = 0; $i < 10; $i++) {
24 // Test exception breakpoints
26 echo "About to throw an exception\n";
27 throw new Exception("Hello world!");
28 } catch (Exception $e) {
29 echo "Caught the exception!\n";