In article <[EMAIL PROTECTED]>, 
> Thanks that worked just fine.  But now I am irritated as hell.  Obviously there
> is no backwards compatibility with new releases.  Does this mean if I install a
> new version of PHP then all books published before that date are worthless?
> Seems so.
> For example in a book discussing PHP 3 it says:
> <?
> phpinfo();
> ?>
> This works just fine.  In a book that discusses PHP 4 it says:
> <?
> php_info()
> ?>
> This gives "Fatal error: Call to undefined function: php_info() in
> c:\inetpub\wwwroot\php\phpinfo.php on line 2."
> So it's not just backwards compatibility it is careless planning.  This is not
> good.  I will have to search hi and lo to determine if a failure is due to
> incorrect syntax because of version and not just careless typing on my part.

Have you considered the possibility that, in this case, the book might 
have a misprint? Your definitive source should always be the latest php 

> I remember when FORTRAN was being developed we were assurred that all previous
> commands from older versions would continue operative in the new.  FORTRAN 77
> to FORTRAN 90.  I think the developers of PHP ought to consider why the
> developers of FORTRAN thought that might be a good thing to do.  It is still
> used to this day.  Write a FORTRAN 77 prog and it will compile and run on a
> FORTRAN 90 compiler out of the box.  Thanks again.

David Robley
Temporary Kiwi!

Quod subigo farinam

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to