Re: [PHP4BETA] Adding a function to PHP4
| From: | Paul Dlug | Date: | Thu, 07 Oct 1999 14:28:31 +0000 |
| Subject: | Re: [PHP4BETA] Adding a function to PHP4 | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5327@lists.php.net to get a copy of this message | ||
Thanks for the references to the apidoc.txt I think I understand how to write
PHP functions..however I don't understand how to actually build it into
PHP..could you or someone else explain? Thanks
--Paul
Andrei Zmievski wrote:
> Paul Dlug wrote:
> > ~/php-4.0b2/ext> ./ext_skel myextension
> > ./ext_skel: 6: Syntax error: "(" unexpected
>
> ext_skel was fixed to be more compatible across platforms after Beta 2 came
> out. You can either update from CVS or try to remove 'function' in 'function
> givup() {' line.
>
> -Andrei
> * All of the above is my opinion, unless specified otherwise. *
>
> --
> PHP 4 Beta