PDA

View Full Version : PHP Reference Sheet?


SDP2006
08-04-2003, 02:46 PM
Is there a PHP Reference Sheet that has all of the functions, etc. for php on it? Like a cheat sheet...

Thanks

Ökii
08-04-2003, 03:00 PM
yup, it's called the manual - available at php.net

other than that, the usable functions would depend upon your build, so something like

<?php
$mods = get_loaded_extensions();
foreach($mods AS $ext)
{
echo '<hr /><b>' .$ext. '</b><br /><br />';
$funcs = get_extension_funcs($ext);
foreach($funcs as $func_name)
{
echo $func_name. '()<br />';
}
}
?>

would provide a silly long list of all usable extension functions within your build.
would not include the basic functions though, like echo and the ilk.

SDP2006
08-04-2003, 03:18 PM
Thanks, but Is there something that would give you that and a description of what it does? Specifically the standard functions.


Thanks

Spookster
08-04-2003, 03:47 PM
Originally posted by SDP2006
Thanks, but Is there something that would give you that and a description of what it does? Specifically the standard functions.


Thanks

Quoted from Okii:
yup, it's called the manual - available at php.net

SDP2006
08-04-2003, 05:36 PM
I know that, I have looked through it but can't find function reference to the standard functions....can you point me to the link please?

Thanks

Spookster
08-04-2003, 06:52 PM
Originally posted by SDP2006
I know that, I have looked through it but can't find function reference to the standard functions....can you point me to the link please?

Thanks

You mean the section in the manual titled Function Reference didn't give it away? :D

http://www.php.net/manual/en/funcref.php

or maybe even the quick references page:

http://www.php.net/quickref.php

Nightfire
08-04-2003, 06:54 PM
Standard functions being?

http://php.net/echo
http://php.net/print
http://php.net/exit
http://php.net/header
http://php.net/require
http://php.net/strtoupper
http://php.net/strtolower
http://php.net/function
http://php.net/isset
http://php.net/if
http://php.net/elseif
http://php.net/etcetcetcetcetc

or just the links above what le spook pointed out :p

SDP2006
08-04-2003, 07:11 PM
Sorry, I'm so stupid. Thanks :)

Spookster
08-04-2003, 07:44 PM
Originally posted by SDP2006
Sorry, I'm so stupid. Thanks :)

It's okay, you're from South Carolina so I guess we can forgive you.....this time :D