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
https://forums.phpfreaks.com/topic/37580-create-a-functions-library/
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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.