Re: Fatal error on functions valid for PHP 4, 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Out put on PHP 5.2.4

<quote>
Parse error: syntax error, unexpected T_STRING in /testphp.php on line 2
</quote>

Line 2 is the first line of code.

Output on PHP 5.2.6 and on PHP 5.3.0 local

blank page.

All the best
Chris Streatfield
Tel: +64 4 475 7846
Mob: 021 102 6018
Skype: chrisstreat

On Sat, 10 Oct 2009 02:01:24 kronos@xxxxxxxxxx wrote:
> Hi,
> 
> Would someone be kind enough to test whether these following functions work? 
> 
> I'm getting: "PHP Fatal error:  Call to undefined function 
easter_date() . . . 
> easter_days" on both local and production sites.
> 
> 
> <?php
> 
> 	echo easter_days(2009);
> 	print "<br><br>";
> 	echo date("M-d-Y", easter_date(2009)); 
> 	print "<br><br>";
> 	echo date("D d M Y", easter_date(2009));  
> 
> ?>
> 
> 
> I'm using 5.2.10 production; PHP 5.2.4 local.
> 
> Tia,
> Andre
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux