[PHP-DEV] CVS Account Request: cybot

2007-07-03 Thread Sebastian Mendel
lead of PEAR SQL_Parser http://pear.php.net/user/cybot http://news.php.net/php.pear.qa/4397 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RIP PHP 4?

2007-07-11 Thread Sebastian Mendel
here now them) last but not least the missing functionality to easily setup used PHP version per directory ... giving hosters the tool to make their customers an easy way to adopt/test their sites ... -- Sebastian Mendel www.sebastianmendel.de -- PHP Internals - PHP Runtime Development Ma

Re: [PHP-DEV] RIP PHP 4?

2007-07-11 Thread Sebastian Mendel
Stut schrieb: > Sebastian Mendel wrote: >> Guilherme Blanco schrieb: >>> Have you ever asked yourselves... why? why PHP5's adoption is so bad? >> >> it was badly advertised! >> >> most people don't even know how much faster it is! > >

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Sebastian Mendel
ght Larry? >> > >> > JeffG >> >> Except for the OO, I don't see anything that can't be done in PHP4, >> while it can be done in PHP5. Some workarounds are maybe needed, but >> it mostly doesn't require more than 10 lines of PHP code extra.

Re: [PHP-DEV] RIP PHP 4?

2007-07-12 Thread Sebastian Mendel
u even have more >> functions than ever.. > Unfortunately my original point has become obscured by hair splitting. > I was done with this "hair splitting" when I stated that I liked /both/ > versions - each for different reasons. It's like a comment made earlier

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-12 Thread Sebastian Mendel
27;d say > (unordered): > > Drupal > Squirrelmail > WordPress > phpMyAdmin phpMyAdmin runs fine with PHP 6, except masses of notices/stricts (due to PHP 4 compatibility till 2.11 release this year) if you find problems tell me -- Sebastian Mendel www.sebastianmendel.de -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RIP PHP 4?

2007-07-13 Thread Sebastian Mendel
chris# wrote: > Sebastian Mendel <[EMAIL PROTECTED]> wrote: >> chris# wrote: >>> I think that same analogy applies to both versions of PHP - one version >>> is >>> more suitable for one thing (your choice(s) here), and vise-a-versa. Or; >>> wh

Re: [PHP-DEV] Question about Namespace patch

2007-07-25 Thread Sebastian Mendel
Stanislav Malyshev schrieb: But why not allow importing namespaced functions and constants into the global namespace? Because there's really no need to. Nothing wrong with namespace::function(). so i can not use a lib that switched to namespaces in my old code that does not support namespac

Re: [PHP-DEV] Question about Namespace patch

2007-07-25 Thread Sebastian Mendel
Stefan Priebsch schrieb: Stanislav Malyshev schrieb: SELECT class FROM LibB WHERE class.name NOT LIKE 'Date%' AND class.version < 3.14 OR class.approved='Manager' Maybe we should use PDO to support these? ;) For performance reasons, I would rather suggest using native database APIs instead of

[PHP-DEV] Re: Feature request : Self caching of .php files for wide multi backend setups.

2007-08-05 Thread Sebastian Mendel
Constantin B schrieb: require should : 1 : check in /localcopy/path/to/file.php if it exist 2 : then if its not too old // we can define what this means later // it just require it as now 3 : if the file does not exist or if its too old we refresh it from the /path/to/file.php and require it .

Re: [PHP-DEV] PHP 5.1

2005-06-14 Thread Sebastian Mendel
Robert Cummings wrote: > [...] > > On that note, how comes there's a $GLOBAL array and not a $LOCAL array > for vars declared in the immediate scope :) you can use get_defined_vars() http://www.php.net/get_defined_vars -- Sebastian Mendel www.sebastianmendel.de ww

Re: [PHP-DEV] PHP 5.1

2005-06-14 Thread Sebastian Mendel
ariable: b in [...] >> foo >> not set > > No, ifsetor() is not possible in user land, because it generates notices, > and a php core function ifsetor() would not generate notices. That's really > the way it has to be. i see no notice produced by this ifsetor() -- Sebastia

Re: [PHP-DEV] forward compatibility "public" in 4.4

2005-06-15 Thread Sebastian Mendel
easily be adopt by just removing the '&' without getting any NOTICE in any VERSION i think 'var' is the most important reason for the current delay in the move to PHP 5! i would even go a step further: -"var" { +("var"|"public"|"private

Re: [PHP-DEV] forward compatibility "public" in 4.4

2005-06-15 Thread Sebastian Mendel
r changing a copy of an object in PHP 4 changes the original object in PHP 5 also, this all three are 'silent' changes - that reports no errors but can break the app but this are all errors that can be fixed without getting notices in both versions but work in both versions -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] forward compatibility "public" in 4.4

2005-06-15 Thread Sebastian Mendel
is proposed - to add a keyword to PHP to > only to remove notices that PHP produces. oh, so is it wrong to fix something that produces a NOTICE? and to fix this with the help of forward-compatibility? and this keyword is added in _PHP 4_, there is no NOTICE -- Sebastian Mendel www.se

Re: [PHP-DEV] forward compatibility "public" in 4.4

2005-06-16 Thread Sebastian Mendel
error level for "deprecated" keywords (and function calls) > would be helpful? and is it a problem to implement such a new error level also with PHP 4.4. for example reporting overwriting $this is not allowed in PHP 5 ? and, when we are at this, what about 'clone' as a dummy-k

Re: [PHP-DEV] forward compatibility "public" in 4.4

2005-06-16 Thread Sebastian Mendel
Lukas Smith wrote: > Sebastian Mendel wrote: > >> and is it a problem to implement such a new error level also with PHP >> 4.4. for example reporting overwriting $this is not allowed in PHP 5 ? >> >> and, when we are at this, what about 'clone' as a d

Re: [PHP-DEV] forward compatibility "public" in 4.4

2005-06-16 Thread Sebastian Mendel
line 2 > > So I'm strongly against this change. If you want to run PHP4 code in > PHP5, disable E_STRICT. id dont know, but isnt there a difference between where the keywords are placed? and if it is so, then this would also be a candidate for "NOTICE: 'public

Re: [PHP-DEV] forward compatibility "public" in 4.4

2005-06-16 Thread Sebastian Mendel
Nelson Menezes wrote: > On 6/16/05, Johannes Schlueter <[EMAIL PROTECTED]> wrote: >> On Thursday 16 June 2005 11:27, Sebastian Mendel wrote: >>>> I guess, this will more likely produce an error message like this: >>>> >>>> Parse error: synta

Re: [PHP-DEV] allow_url_fopen should be INI_ALL

2005-06-29 Thread Sebastian Mendel
found in $_REQUEST it could raise a WARNING, and notice the user about this security-leak. -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] $this availability inside static-functions

2005-07-21 Thread Sebastian Mendel
{ return ANY_DEFAULT_VALUE; } function bar() { return $this->value; } } or class foo { static function bar( $param ) { return $param; } function bar() { return $this->param; } } -- Sebastian Mendel www.sebastianmendel.de w

Re: [PHP-DEV] $this availability inside static-functions

2005-07-21 Thread Sebastian Mendel
return 'not static'; } return 'static'; } function bar2() { return foo::bar(); } } // returns 'static' echo foo::bar(); // returns 'not static' but should be 'static' $foo = new foo; echo $foo->bar2(); --

Re: [PHP-DEV] $this availability inside static-functions

2005-07-21 Thread Sebastian Mendel
tName() static Class::staticGetName() ?? this doesnt makes sence to me. pls, give me a hint if i had overseen something. -- Sebastian Mendel www.sebastianmendel.de www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet -- PHP Internals - PHP Runtime Development Mailing List To uns

Re: [PHP-DEV] $this availability inside static-functions

2005-07-22 Thread Sebastian Mendel
patrick müller wrote: > Sebastian Mendel wrote: > >> how about if i need a name for object not loaded? >> >> Class::getName( $object_id ); >> > > Weird, i thought you must know the classname for a static > call :) not the classname, the objectname f.e. t

Re: [PHP-DEV] $this availability inside static-functions

2005-07-26 Thread Sebastian Mendel
c' $foo = new Foo; echo $foo->getParentName(); ?> > Andi > > At 08:59 AM 7/22/2005 +0200, Sebastian Mendel wrote: >> Sean Coates wrote: >> >> i know this hack, but it does not work, if the statically called >> method >> >> is from the same c

Re: [PHP-DEV] E_ALL changes in 5.2/6.0

2006-05-29 Thread Sebastian Mendel
Steph Fox schrieb: Marcus, FWIW I'm with you (unusually) over E_STRICT. Why would anyone have E_ALL switched on anywhere but a dev box? at least i, as no one on this mailing list is interested in me, but i have it on and it is logged only and not displayed. some bugs are really hard to fin