Re: PHP console (php.exe -a)

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

 



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


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux