Re: PHP console (php.exe -a)

[email protected] (Carsten Wiedmann)
Newsgroups php.windows
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.