Re: PHP console (php.exe -a)

From: Date: Wed, 30 Dec 2009 11:51:39 +0000
Subject: Re: PHP console (php.exe -a)
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-29796@lists.php.net to get a copy of this message
Am 30.12.2009 12:12, schrieb Richard Quadling: >> Specifically, autoload functions, though registered (either by having >> __autoload() or by using spl_autoload_register()), are not invoked for >> missing classes. >> >> So, for windows, what's the point of the interactive mode? > > [2009/12/30 11:08:44] [C:\] [] >php -a > Interactive mode enabled > > <?php > print_r(spl_autoload_functions()); > echo static_Krypt::EnKryptB64('Hello'); > ^Z > Array > ( > [0] => AutoLoadRAQ > ) > > Fatal error: Class 'static_Krypt' not found in - on line 3 That's the same output you get on *nix. So no difference between *nix and Windows in this point. Regards, Carsten

« previous php.windows (#29796) next »