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