From 5e999420e36575521d53a72259126123173ae4ce Mon Sep 17 00:00:00 2001 From: Marcelo Araujo Date: Sun, 25 Nov 2007 16:57:48 +0000 Subject: [PATCH] - first steps (writing functions) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247008 c90b9560-bf6c-de11-be94-00142212c4b1 --- internals2/funcs/index.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/internals2/funcs/index.xml b/internals2/funcs/index.xml index e195605d40..1e38b53c72 100644 --- a/internals2/funcs/index.xml +++ b/internals2/funcs/index.xml @@ -1,11 +1,13 @@ - + Writing functions - Also known as a Glue language, PHP can be easily extended. And writing -functions is undoubtedly one of the most important aspects of extension -writing. + PHP is also known as a Glue language, and extending it, can be easily done +with those extensions generators. When you use ext_skel and a prototype file +to generate the C function stubs, you will notice that all of the exported +functions created have a simple prototype such as the following: +PHP_FUNCTION(func_name)