--TEST--
Fundamental breakpoints functionality
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 3
r
--TEST--
Preserve breakpoints on restart
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b breakpoints_002.php:4
r
--TEST--
Test deleting breakpoints
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 4
b del 0
--TEST--
Test opcode breakpoints
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b ZEND_ECHO
r
--TEST--
Test breaks on HANDLE_EXCEPTION
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 5
r
--TEST--
test finish and leave commands
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--INI--
opcache.optimization_level=0
--PHPDBG--
--TEST--
info constants test
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 10
r
--TEST--
Test next command on function boundaries
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
b 4
r
--TEST--
Test phpdbg_break_next() function
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
r
c
--TEST--
Stdin and escaped args being passed to run command
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--CLEAN--
<?php
@unlink("run_002_tmp.fixture");
--TEST--
set_exception_handler() in phpdbg
+--SKIPIF--
+<?php
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
+?>
--PHPDBG--
r
c
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}
if (PHP_INT_SIZE == 4) {
die("xfail There may be flaws in the implementation of watchpoints that cause failures");
}
+if (PHP_OS_FAMILY === 'Windows' && ini_get('opcache.jit') && ini_get('opcache.jit_buffer_size')) {
+ die('xfail breakpoint/watchpoint issues with JIT on Windows');
+}
if (getenv('SKIP_ASAN')) {
die("skip intentionally causes segfaults");
}