Re: error reporting php-5.0.4-10.4 on FC4

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

 



Bob Hartung wrote:
Jasper
  If if make a file containing only
  <?php
    phpinfo() ;
  ?>
  I get what I expected.

take a good look at where php is reading its ini file from
- it may not be where you expect


  If I make a file containing
<?php

phpinfo() ;

// Now a simple class and a call to the class
    class Simple()
    {
        void __construct()

'void' is not a php keyword. that would give a parse error


        {
            echo "In the constructor" ;
        }
    }

    $newSimple = new Simple ;

?>

I get NO output or errors in the browser window. If I select "view source" it returns:
   <html><body></body><html>

Eh?  Anyone with any other ideas

Tnx

Bob Hartung

Jasper Bryant-Greene wrote:
<snip all before.


--
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