Re: [PHP4BETA] CVS update: php4
| From: | Stig Bakken | Date: | Fri, 14 May 1999 20:20:50 +0000 |
| Subject: | Re: [PHP4BETA] CVS update: php4 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-862@lists.php.net to get a copy of this message | ||
I intended each module to insert one #include statement and one entry in
the struct. But actually, we could take the "standard" extension and move
it somewhere else, so that all the code in the ext/ directory can be
treated as optional. Perhaps we should make a main/ directory for php4 as
well?
- Stig
On 14 May 1999, zeev wrote:
> Date: Friday May 14, 1999 @ 14:25
> Author: zeev
>
> Update of /repository/php4
> In directory php:/tmp/cvs-serv9356
>
> Modified Files:
> internal_functions.c.in
> Log Message:
> * Include all of the standard modules in internal_functions.c.in. Stig - is that
> the way you intended it to be? How does the basic_functions module get in there?
> * Fix to get MySQL objects working, even though I'll probably make a dedicated
> MySQL object in the future.
>
> Index: php4/internal_functions.c.in
> diff -u php4/internal_functions.c.in:1.2 php4/internal_functions.c.in:1.3
> --- php4/internal_functions.c.in:1.2 Wed May 12 11:40:14 1999
> +++ php4/internal_functions.c.in Fri May 14 14:25:15 1999
> @@ -29,7 +29,7 @@
> */
>
>
> -/* $Id: internal_functions.c.in,v 1.2 1999/05/12 15:40:14 sas Exp $ */
> +/* $Id: internal_functions.c.in,v 1.3 1999/05/14 18:25:15 zeev Exp $ */
>
>
> #include "php.h"
> @@ -41,6 +41,17 @@
> #include <stdio.h>
>
> #include "ext/standard/reg.h"
> +#include "ext/standard/dl.h"
> +#include "ext/standard/file.h"
> +#include "ext/standard/fsock.h"
> +#include "ext/standard/head.h"
> +#include "ext/standard/pack.h"
> +#include "ext/standard/php3_browscap.h"
> +#include "ext/standard/php3_crypt.h"
> +#include "ext/standard/php3_dir.h"
> +#include "ext/standard/php3_filestat.h"
> +#include "ext/standard/php3_mail.h"
> +#include "ext/standard/php3_syslog.h"
> @EXT_INCLUDE_CODE@
>
> /* SNMP has to be moved to ext */
> @@ -53,6 +64,17 @@
>
> zend_module_entry *php3_builtin_modules[] = {
> phpext_regex_ptr,
> + phpext_dl_ptr,
> + phpext_file_ptr,
> + phpext_fsock_ptr,
> + phpext_head_ptr,
> + phpext_pack_ptr,
> + phpext_browscap_ptr,
> + phpext_crypt_ptr,
> + phpext_dir_ptr,
> + phpext_filestat_ptr,
> + phpext_mail_ptr,
> + phpext_syslog_ptr,
> @EXT_MODULE_PTRS@
> };
>
>
> --
> PHP 4 Beta
>
>
--
PHP 4 Beta