]> granicus.if.org Git - php/commitdiff
woops
authorkrakjoe <joe.watkins@live.co.uk>
Sun, 10 Nov 2013 10:46:18 +0000 (10:46 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sun, 10 Nov 2013 10:46:18 +0000 (10:46 +0000)
phpdbg.h [new file with mode: 0644]

diff --git a/phpdbg.h b/phpdbg.h
new file mode 100644 (file)
index 0000000..4a40c72
--- /dev/null
+++ b/phpdbg.h
@@ -0,0 +1,43 @@
+/*
+   +----------------------------------------------------------------------+
+   | PHP Version 5                                                        |
+   +----------------------------------------------------------------------+
+   | Copyright (c) 1997-2013 The PHP Group                                |
+   +----------------------------------------------------------------------+
+   | This source file is subject to version 3.01 of the PHP license,      |
+   | that is bundled with this package in the file LICENSE, and is        |
+   | available through the world-wide-web at the following url:           |
+   | http://www.php.net/license/3_01.txt                                  |
+   | If you did not receive a copy of the PHP license and are unable to   |
+   | obtain it through the world-wide-web, please send a note to          |
+   | license@php.net so we can mail you a copy immediately.               |
+   +----------------------------------------------------------------------+
+   | Authors: Joe Watkins <joe.watkins@live.co.uk>                        |
+   +----------------------------------------------------------------------+
+*/
+#include "php.h"
+#include "php_globals.h"
+#include "php_variables.h"
+#include "zend_modules.h"
+#include "zend_ini_scanner.h"
+#include "zend_globals.h"
+#include "zend_stream.h"
+#include "SAPI.h"
+#include <php_config.h>
+#include "php_main.h"
+
+#ifdef ZTS
+# include "TSRM.h"
+#endif
+
+#ifdef ZTS
+# define PHPDBG_G(v) TSRMG(phpdbg_globals_id, zend_phpdbg_globals *, v)
+#else
+# define PHPDBG_G(v) (phpdbg_globals.v)
+#endif
+
+ZEND_BEGIN_MODULE_GLOBALS(phpdbg)
+  HashTable breaks;
+ZEND_END_MODULE_GLOBALS(phpdbg)
+
+#include "phpdbg_prompt.h"