+++ /dev/null
-/*
- +----------------------------------------------------------------------+
- | Zend Engine |
- +----------------------------------------------------------------------+
- | Copyright (c) 1998-2004 Zend Technologies Ltd. (http://www.zend.com) |
- +----------------------------------------------------------------------+
- | This source file is subject to version 2.00 of the Zend 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.zend.com/license/2_00.txt. |
- | If you did not receive a copy of the Zend license and are unable to |
- | obtain it through the world-wide-web, please send a note to |
- | license@zend.com so we can mail you a copy immediately. |
- +----------------------------------------------------------------------+
- | Authors: Sterling Hughes <sterling@php.net> |
- | Marcus Boerger <helly@php.net> |
- +----------------------------------------------------------------------+
-*/
-
-/* $Id$ */
-
-#ifndef ZEND_DEFAULT_CLASSES_H
-#define ZEND_DEFAULT_CLASSES_H
-
-BEGIN_EXTERN_C()
-
-ZEND_API zend_class_entry *zend_exception_get_default(void);
-ZEND_API void zend_register_default_classes(TSRMLS_D);
-
-/* exception_ce NULL or zend_exception_get_default() or a derived class
- * message NULL or the message of the exception */
-ZEND_API void zend_throw_exception(zend_class_entry *exception_ce, char *message, long code TSRMLS_DC);
-ZEND_API void zend_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, char *format, ...);
-ZEND_API void zend_throw_exception_object(zval *exception TSRMLS_DC);
-
-/* show an exception using zend_error(E_ERROR,...) */
-ZEND_API void zend_exception_error(zval *exception TSRMLS_DC);
-
-END_EXTERN_C()
-
-#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * indent-tabs-mode: t
- * End:
- */
#include "ext/standard/info.h"
#include "php_com_dotnet.h"
#include "php_com_dotnet_internal.h"
-#include "Zend/zend_default_classes.h"
+#include "Zend/zend_exceptions.h"
/* {{{ com_create_instance - ctor for COM class */
PHP_FUNCTION(com_create_instance)
# include "ext/standard/info.h"
# include "php_com_dotnet.h"
# include "php_com_dotnet_internal.h"
-# include "Zend/zend_default_classes.h"
+# include "Zend/zend_exceptions.h"
# include <mscoree.h>
struct dotnet_runtime_stuff {
#include "ext/standard/info.h"
#include "php_com_dotnet.h"
#include "php_com_dotnet_internal.h"
-#include "Zend/zend_default_classes.h"
+#include "Zend/zend_exceptions.h"
ZEND_DECLARE_MODULE_GLOBALS(com_dotnet)
TsHashTable php_com_typelibraries;
#include "ext/standard/info.h"
#include "php_com_dotnet.h"
#include "php_com_dotnet_internal.h"
-#include "Zend/zend_default_classes.h"
+#include "Zend/zend_exceptions.h"
static zval *com_property_read(zval *object, zval *member, zend_bool silent TSRMLS_DC)
{
#include "ext/standard/info.h"
#include "php_com_dotnet.h"
#include "php_com_dotnet_internal.h"
-#include "Zend/zend_default_classes.h"
+#include "Zend/zend_exceptions.h"
struct php_com_iterator {
zend_object_iterator iter;
#include "ext/standard/info.h"
#include "php_com_dotnet.h"
#include "php_com_dotnet_internal.h"
-#include "Zend/zend_default_classes.h"
+#include "Zend/zend_exceptions.h"
void php_com_throw_exception(HRESULT code, char *message TSRMLS_DC)
{
#include "ext/standard/info.h"
#include "php_com_dotnet.h"
#include "php_com_dotnet_internal.h"
-#include "Zend/zend_default_classes.h"
+#include "Zend/zend_exceptions.h"
typedef struct {
/* the object we a proxying for; we hold a refcount to it */
#include "xml_common.h"
#include "ext/libxml/php_libxml.h"
-#include "zend_default_classes.h"
+#include "zend_exceptions.h"
#include "dom_ce.h"
/* DOM API_VERSION, please bump it up, if you change anything in the API
therefore it's easier for the script-programmers to check, what's working how
#include "php_globals.h"
#include "ext/standard/info.h"
#include "ext/standard/php_string.h"
-#include "zend_default_classes.h"
+#include "zend_exceptions.h"
#if HAVE_MYSQL
#include "ext/standard/info.h"
#include "ext/standard/php_string.h"
#include "php_mysqli.h"
-#include "zend_default_classes.h"
+#include "zend_exceptions.h"
#define MYSQLI_STORE_RESULT 0
#define MYSQLI_USE_RESULT 1
#include "ext/standard/php_smart_str.h"
#include "php_pgsql.h"
#include "php_globals.h"
-#include "zend_default_classes.h"
+#include "zend_exceptions.h"
#if HAVE_PGSQL
#include "ext/standard/php_string.h"
#include "php_simplexml.h"
#include "php_simplexml_exports.h"
-#include "zend_default_classes.h"
+#include "zend_exceptions.h"
#include "zend_interfaces.h"
#if HAVE_SPL && !defined(COMPILE_DL_SPL)
#include "ext/spl/spl_sxe.h"
#include "php_soap.h"
#include "ext/session/php_session.h"
#ifdef ZEND_ENGINE_2
-# include "zend_default_classes.h"
+# include "zend_exceptions.h"
#endif
static int le_sdl = 0;
#include "php_ini.h"
#include "ext/standard/info.h"
#include "zend_compile.h"
-#include "zend_default_classes.h"
+#include "zend_exceptions.h"
#include "zend_interfaces.h"
#include "php_spl.h"
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
-#include "zend_default_classes.h"
+#include "zend_exceptions.h"
#include "zend_interfaces.h"
#include "php_spl.h"
#include <sqlite.h>
-#include "zend_default_classes.h"
+#include "zend_exceptions.h"
#ifndef safe_emalloc
# define safe_emalloc(a,b,c) emalloc((a)*(b)+(c))
#include "safe_mode.h"
#include "Zend/zend_API.h"
#include "Zend/zend_hash.h"
-#include "Zend/zend_default_classes.h"
+#include "Zend/zend_exceptions.h"
#include "Zend/zend_object_handlers.h"
ZEND_DECLARE_MODULE_GLOBALS(tidy)
#include "win32/php_registry.h"
#endif
#include "php_syslog.h"
-#include "Zend/zend_default_classes.h"
+#include "Zend/zend_exceptions.h"
#if PHP_SIGCHILD
#include <sys/types.h>