PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
require_once 'globalfunctions.php';
class thingy
{
function thingy()
{
//i want to be able to use the dump function here
dump(array(1, 2, 3, 4, 5));
}
}
function dump($arr)
{
echo '<pre>';
print_r($arr);
echo '</pre>';
}
class thingy
{
function thingy()
{
//i want to be able to use the dump function here
dump(array(1, 2, 3, 4, 5));
}
}
$test = new thingy();
ohhhhhhhhh. wow ok sorry obviously i didn't try it because i was certain that there was something special i had to do. sorry about that, it's definatly too hot out today.