Re: [PHP-DEV] U

2008-01-05 Thread Vlad Bosinceanu
Also, function foo(SomeClass $obj) would error out if passed something other than a SomeClass instance, while function foo(int $number) would just cast $number to int. Not really intuitive and not really consistent. Regards, Vlad Bosinceanu Stefan Esser wrote: Hello, typing into PHP

Re: [PHP-DEV] PHP needs better function organization, naming and parameter specifications

2007-05-23 Thread Vlad Bosinceanu
I really don't think that would work. There's far too many inconsistencies with php. Take haystack/needle order in string functions: creating aliases won't fix that; change the order and half the web is gonna break. Perhaps forking php is a good idea here. Think it through, fix what's there t

Re: [PHP-DEV] GSoC

2007-03-21 Thread Vlad Bosinceanu
You're talking about massive processing tasks here, which aren't really suited for PHP. The problem isn't just with clients waiting for a script to finish executing, but also with hammering the webservers. There's only so many MaxClients a webserver allows. It may be useful for CLI apps, but ke

Re: [PHP-DEV] re: _FILES

2007-02-08 Thread Vlad Bosinceanu
generates $_GET['foo'][0..n] generates $_FILES['foo']['tmp_name/name/etc'][0..n] I think this could pretty much be considered an inconsistence but changing wouldn't possible due to the BC demon awakening and wreaking havoc upon doing so. V Darrel O'Pry wrote: On Thu, 2007-02-08 at 17:15

Re: [PHP-DEV] Re: Syntactic improvement to array

2007-02-08 Thread Vlad Bosinceanu
I for one cringe when I see list(), and I'd love to see [$a, $b] = array(...) become an alternative to that. Can't say I care that much about an alternative syntax for dealing with array creation, but I wouldn't mind. "[]" already suggests "array", and I guess existing developers will have no

Re: [PHP-DEV] Comments on PHP security

2007-01-11 Thread Vlad Bosinceanu
It's better than having to deal with sql at a lower level, while not as good as proper training. Which is more likely we will see happening? I really doubt it's the latter. Should PHP babysit the programmer to ensure he dosen't screw up? Not really, IMO. There's good docs available, but what b

Re: [PHP-DEV] Include fileinfo in core

2006-12-30 Thread Vlad Bosinceanu
it may encourage hosts to take extensions that are not bundled with the default distribution into consideration. This and similar suggestions could be grouped into some sort of guidelines for hosting providers. my 2c and regards, Vlad Bosinceanu Antony Dovgal wrote: On 12/31/2006 02:43 AM

Re: [PHP-DEV] Compile problem

2004-12-15 Thread Vlad Bosinceanu
I never compiled anything under windows, but the errors seem pretty self-explanatory. Checking for bison.exe ... Checking for flex.exe ... Checking for re2c.exe ... Checking for zip.exe ... Checking for lemon.exe ... Vlad -- PHP Internals - PHP Runtime Development Mailing List To unsubs

Re: [PHP-DEV] realpath() caching

2004-09-24 Thread Vlad Bosinceanu
Sounds a bit hackish - as opposed to most things in php that have a special function. V Andi Gutmans wrote: I don't know if I'd like to make a PHP user-land function for this, especially as it'll get slightly sticky due to this being a TSRM mechanism. Also, as mentioned by Elfyn, it's very unli

Re: [PHP-DEV] Perl extension

2004-03-02 Thread Vlad Bosinceanu
Yes, but not with plain functions and perl_eval(). perl_call("func", $arg1, $arg2); Dmitry. What about perl_eval("func", PERL_CONTEXT_WHATEVER, $arg1, ...)? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] var_dump_html()

2003-07-03 Thread Vlad Bosinceanu
I still fail to understand how this would be helpful to someone who's debugging a script (as I presume you're not showing the user nicely colorised var_dump()s). *shrug* Vlad Ken Tossell wrote: Quoting Vlad Bosinceanu <[EMAIL PROTECTED]>: What could it possibly colorize

Re: [PHP-DEV] var_dump_html()

2003-07-03 Thread Vlad Bosinceanu
What could it possibly colorize and how would it be useful? epplestun wrote: In my opinion is good idea but Derick has rason, is better if var_dump_html colorise the output :-) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php