Jump to content

Create A Functions Library


The Little Guy

Recommended Posts

I was just wondering, how you I could go and make my own library of functions. When the PHP runs, it has built in functions like strtoupper, isset, in_array, addslashes, stripslashes, etc. Those are already there for use, I don't need to call a separate file or anything. How can I make my own functions, and do the same thing?

 

Any external tutorials would be great.

Link to comment
Share on other sites

I'm reading another tutorial here:

http://devzone.zend.com/node/view/id/1021

 

and I'm stuck on this part:

The final step in this exercise will be building your extension as a dynamically loadable module. If you've copied the example above correctly, this should only take three commands run from ext/hello/:

 

    $ phpize

    $ ./configure --enable-hello

    $ make

 

I have tried running those lines from the command line, but CMD doesn't understand them. Anyone have any Ideas?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.