- first steps (writing functions)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247008 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Marcelo Araujo 2007-11-25 16:57:48 +00:00
parent 25df5a730f
commit 5e999420e3

View file

@ -1,11 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<chapter xml:id="internals2.funcs" xmlns="http://docbook.org/ns/docbook">
<title>Writing functions</title>
<para>
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)
</para>
</chapter>