Re: [PHP-DEV] RFC: Server-Side Request and Response Objects (v2)

2020-02-11 Thread Jan Schneider
always use a full-featured userland library. Speaking of interfaces: since you suggest using decoration and composition over extension for ServerResponse, I am missing a ServerResponseInterface, so that you can easily typehint such userland decorators. -- Jan Schneider The Horde Project https

Re: [PHP-DEV] Re: patch for imap bug 77153

2019-02-01 Thread Jan Schneider
ts too. I suspect that the extension's going to have the performance one would desire when dealing with giant mailboxes, but c-client is hard to deal with. I've had experience with c-client for a while (stretching back to Pine days), and yet still would like to roadmap our way to a modern imple

Re: [PHP-DEV] Deprecating ldap_sort

2015-06-26 Thread Jan Schneider
don't use it ;) I've checked phpLdapAdmin (not used), GOsa (not used) and Zend\Ldap (sadly used, but I can rewrite that part) but that are just three libs out there out of so many self-written scripts FWIW Net_LDAP and its successors Net_LDAP2 and Horde_Ldap don't

[PHP-DEV] Streams BC break unfixed since 5.6.5

2015-03-17 Thread Jan Schneider
regression is breaking real world applications since two 5.5 and 5.6 releases (http://3v4l.org/YJRWQ) and the fix is ready to merge, at least to the master branch. Thanks for looking into this, Jan. -- Jan Schneider The Horde Project http://www.horde.org/ https://www.facebook.com/hordeproject

Re: [PHP-DEV][RFC][VOTE][RESTART] Strict Argument Count On Function Calls

2015-03-16 Thread Jan Schneider
versions. But you won't find those cases if you test complete software stacks, because in the most current version of both modules you will have the new parameter available. Beside that, your testing sample was pretty small. Jan. -- Jan Schneider The Horde Project http://www.horde.org/ h

Re: [PHP-DEV] [RFC][VOTE] Removal of dead or not yet PHP7 ported SAPIs and extensions

2015-02-04 Thread Jan Schneider
of libc-client and mcrypt in RHEL6. Regards Anatol -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Jan Schneider The Horde Project http://www.horde.org/ https://www.facebook.com/hordeproject -- PHP Internals - PHP Runtime Develop

Re: [PHP-DEV] php7dev Vagrant box

2015-01-29 Thread Jan Schneider
Zitat von Ferenc Kovacs : On Thu, Jan 29, 2015 at 11:03 AM, Jan Schneider wrote: _Zitat von Ferenc Kovacs :_ _On Thu, Jan 29, 2015 at 9:57 AM, Jan Schneider wrote:_ _Zitat von Rasmus Lerdorf :_ _As a follow-up to my PHP7 Homework post last week, here is a bit of spoon-feeding for all

Re: [PHP-DEV] php7dev Vagrant box

2015-01-29 Thread Jan Schneider
Zitat von Ferenc Kovacs : On Thu, Jan 29, 2015 at 9:57 AM, Jan Schneider wrote: Zitat von Rasmus Lerdorf : As a follow-up to my PHP7 Homework post last week, here is a bit of spoon-feeding for all you lurkers on this list. https://atlas.hashicorp.com/_rasmus/boxes/php7dev_ _The

Re: [PHP-DEV] php7dev Vagrant box

2015-01-29 Thread Jan Schneider
p7dev This command was not invoked properly. The help for this command is available below. -- Jan Schneider The Horde Project http://www.horde.org/ https://www.facebook.com/hordeproject -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors

2014-11-21 Thread Jan Schneider
don't see a problem. Yes, PHP4 constructors are are old and should no longer be used. But there is no problem still supporting them. Raise an E_DEPRECATED for those, and be done with it. -- Jan Schneider The Horde Project http://www.horde.org/ https://www.facebook.com/hordeproject -- PH

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-10-28 Thread Jan Schneider
Zitat von Pierre Joye : On Thu, Oct 27, 2011 at 12:00 PM, Jan Schneider wrote: I'm going to check with our Jenkins guru, but I'm wondering how such a VM should look like. Should it contain a complete Jenkins instance, or just a checkout of the Horde packages that you would run fro

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-10-27 Thread Jan Schneider
Zitat von Pierre Joye : hi Jan! On Wed, Oct 26, 2011 at 11:16 AM, Jan Schneider wrote: On Tue, Oct 25, 2011 at 12:13 PM, Ferenc Kovacs wrote: from a quick look on their setup, they only have one node, and they are using the global php binary, so no, they are only testing one php version

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-10-26 Thread Jan Schneider
Zitat von Pierre Joye : On Tue, Oct 25, 2011 at 12:13 PM, Ferenc Kovacs wrote: from a quick look on their setup, they only have one node, and they are using the global php binary, so no, they are only testing one php version, and I don't think that it would be the snapshot. but that would be

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-10-25 Thread Jan Schneider
Zitat von Ferenc Kovacs : On Thu, Oct 6, 2011 at 2:49 PM, Jan Schneider wrote: Zitat von Pierre Joye : On Fri, Sep 23, 2011 at 12:23 PM, Rasmus Lerdorf wrote: On 09/23/2011 12:17 PM, Pierre Joye wrote: We do 2) already (while we are working on increasing the amount of apps and

Re: [PHP-DEV] Re: is_a() - again - a better fix

2011-10-06 Thread Jan Schneider
Zitat von Pierre Joye : On Fri, Sep 23, 2011 at 12:23 PM, Rasmus Lerdorf wrote: On 09/23/2011 12:17 PM, Pierre Joye wrote: We do 2) already (while we are working on increasing the amount of apps and frameworks being tested), as I was asking to revert this patch between 5.3.7 and 5.3.8 back

Re: [PHP-DEV] Make primitive type names reserved words (Was: Re: [PHP-DEV] [RFC] 5.4 features for vote (long))

2011-07-12 Thread Jan Schneider
Zitat von Pierre Joye : On Mon, Jul 11, 2011 at 10:15 AM, Jan Schneider wrote: Zitat von Ferenc Kovacs : On Sun, Jul 10, 2011 at 11:17 PM, Pierre Joye wrote: hi, As I could agree on this fact, I can't find any existing project having int(eger), float&co as class, namespaced o

Re: [PHP-DEV] Make primitive type names reserved words (Was: Re: [PHP-DEV] [RFC] 5.4 features for vote (long))

2011-07-11 Thread Jan Schneider
Zitat von Ferenc Kovacs : On Sun, Jul 10, 2011 at 11:17 PM, Pierre Joye wrote: hi, As I could agree on this fact, I can't find any existing project having int(eger), float&co as class, namespaced or not. Do you have any example at hand? Cheers, https://github.com/search?type=Code&languag

Re: [PHP-DEV] foreach() for strings

2011-06-23 Thread Jan Schneider
Zitat von Larry Garfield : On 06/20/2011 10:25 AM, John Crenshaw wrote: Doing this with an explicit iterator object is a fine idea. The syntax becomes something like: foreach(new TextIterator($s, 'UTF8') as $pos=>$c) { ... } On the other hand, I think that trying to support iteration wi

Re: [PHP-DEV] ChangeLog

2010-05-31 Thread Jan Schneider
Zitat von Pierre Joye : 2010/5/29 Johannes Schlüter : Hey, On Fri, 2010-05-28 at 23:50 +0200, Pierre Joye wrote: I'd to add that unless we add everything in the NEWS file, the ChangeLog remains the only way to have a list of all changes (without doing manually). Having the file is absolutel

Re: [PHP-DEV] Re: Turkish/Azeri locale support

2010-05-05 Thread Jan Schneider
Zitat von Adam Harvey : Well, I'm going to assume that people have had whatever say they were going to. It seems that we have three options, so let's put it to a vote. +1 for option 1. Unless we can have some aliases to fix the problem with some PHP functions being documented non-all-lower-

Re: [PHP-DEV] PHP 5.4 branch and trunk

2010-03-17 Thread Jan Schneider
Zitat von Johannes Schlüter : On Tue, 2010-03-16 at 22:13 +0100, Lukas Kahwe Smith wrote: On 16.03.2010, at 16:58, Derick Rethans wrote: > Before we add features, they need to be discussed whether we want to > have them. As version name for it I would like to use "trunk-dev" (and > not 5.4-dev

Re: [PHP-DEV] PHP 5.3.0alpha2

2008-09-02 Thread Jan Schneider
Zitat von Lukas Kahwe Smith <[EMAIL PROTECTED]>: Windows binaries (optimized for various versions of Windows) are available from the new website dedicated to PHP's windows binaries: http://windows.php.net/downloads.php Looks like the file descriptions are wrong. The non-TS "PHP 5.3.0alpha2 V

Re: [PHP-DEV] [patch] expose PHP version details as constants

2008-02-10 Thread Jan Schneider
Zitat von Jingcheng Zhang <[EMAIL PROTECTED]>: Hello, Is there any chance that dirname(__FILE__) being exposed as a constant, i.e. __DIRNAME__? No. Constants are per request, dirname(__FILE__) is obviously different per file. Jan. -- Do you need professional PHP or Horde consulting? htt

Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP

2008-01-21 Thread Jan Schneider
Zitat von Antony Dovgal <[EMAIL PROTECTED]>: 6 reasons why we must to get rid of The Switch ASAP Having maintained a huge Unicode compatible codebase in PHP4 for the last few years, I know which PITA it already is today, having to consider the availability of mbstring and iconv, or dealing

Re: [PHP-DEV] PHP 5.2.1RC2 Released

2007-01-05 Thread Jan Schneider
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>: The 2nd release candidate for PHP 5.2.1 is now available for download. The tarballs can be found here: The ming extension doesn't compile at the moment: /home/jan/software/php-5.2.1RC2/ext/ming/ming.c: In function 'getFontOrFontChar': /home/j

Re: [PHP-DEV] Namespaces in PHP 6 - ++$take

2006-11-11 Thread Jan Schneider
Zitat von Hans Lellelid <[EMAIL PROTECTED]>: I think there is far more demand for a fast & stable PHP then for syntatic sugar features which seem extremely useful, but in the end prove to carry too much baggage. Nothing has been proven either way.. at least not publicly.. unless I just miss

Re: [PHP-DEV] Feature request

2006-11-10 Thread Jan Schneider
Zitat von Dmitry Shirokov <[EMAIL PROTECTED]>: Hey guys. What are you thinking about adding this feature: Yes, please, that would be most important shorthand functionality after dereferencing. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ -- PH

Re: [PHP-DEV] RELEASE_1_0_4

2006-01-24 Thread Jan Schneider
Zitat von Derick Rethans <[EMAIL PROTECTED]>: Hello! For some reason all of our code in all repositories in CVS have a tag "RELEASE_1_0_4". Seems to have happened on the 18th, according to the timestamp in the ChangeLog's history: http://cvs.php.net/viewcvs.cgi/php-src/ChangeLog?view=log If yo

Re: [PHP-DEV] Patch: Rasmus statcallpatch with configure option

2004-09-15 Thread Jan Schneider
Zitat von Derick Rethans <[EMAIL PROTECTED]>: On Tue, 14 Sep 2004, Andi Gutmans wrote: a) I will try and send internals@ an updated version of the realpath() cache in the next few days. This should give a lot of bang for the buck because realpath() is probably the suckiest system call in the startu

Re: [PHP-DEV] Re: cvs: php-src /ext/imap php_imap.c

2004-08-13 Thread Jan Schneider
Zitat von Wez Furlong <[EMAIL PROTECTED]>: On Thu, 12 Aug 2004 16:16:51 -0400, Jon Parise <[EMAIL PROTECTED]> wrote: And what if Jan doesn't know C or feel comfortable writing PHP extension code, for example? Even more reason to stop complaining and wait for someone with the appropriate skill to ge

Re: [PHP-DEV] Re: cvs: php-src /ext/imap php_imap.c

2004-08-12 Thread Jan Schneider
Zitat von Jan Schneider <[EMAIL PROTECTED]>: Ilia Alshanetsky wrote: iliaa Wed Jul 21 17:57:03 2004 EDT Modified files: /php-src/ext/imap php_imap.c Log: Fixed bug #29209 (imap_fetchbody() doesn't check message index). # Initial Patch by tony2001 at

[PHP-DEV] Re: cvs: php-src /ext/imap php_imap.c

2004-08-12 Thread Jan Schneider
Ilia Alshanetsky wrote: iliaa Wed Jul 21 17:57:03 2004 EDT Modified files: /php-src/ext/imap php_imap.c Log: Fixed bug #29209 (imap_fetchbody() doesn't check message index). # Initial Patch by tony2001 at phpclub dot net http://cvs.php.net/diff.php/php-

Re: [PHP-DEV] Re: protected/private access and var_dump/print_r

2004-05-20 Thread Jan Schneider
Zitat von Andi Gutmans <[EMAIL PROTECTED]>: I'm OK with adding it to print_r() too if no one has any serious objections. Perhaps only for members explicitely declared public, as opposed to var-style properties. At 12:04 PM 5/20/2004 +0200, Derick Rethans wrote: On Thu, 20 May 2004, Andi Gutmans wro

Re: [PHP-DEV] Re: Interface inheritance

2004-04-19 Thread Jan Schneider
Zitat von Zeev Suraski <[EMAIL PROTECTED]>: At 13:01 19/04/2004, Christian Schneider wrote: Zeev Suraski wrote: Any method that implements (directly or indirectly) an interface method or an abstract method, will have implementation checks fully enforced, with an E_COMPILE_ERROR emitted in case o

[PHP-DEV] Re: reproduce script (Re: [PHP-DEV] No static method callbacks anmore?)

2004-03-16 Thread Jan Schneider
Zitat von Andi Gutmans <[EMAIL PROTECTED]>: Should be fixed now. Thanks for the reproducing test case. Yeah, works fine now, thanks. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - Neue Wege des Lernens http://www.tip4all.de - Deine private Tippgemeinschaft -- PHP Internal

Re: [PHP-DEV] No static method callbacks anmore?

2004-03-15 Thread Jan Schneider
Zitat von Andi Gutmans <[EMAIL PROTECTED]>: Can you do a reverse apply of the following diff and let me know if it fixes the problem? http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.274&r2=1.275&ty=u No, it doesn't. At 05:04 PM 3/15/2004 +0100, Jan Schneider

[PHP-DEV] No static method callbacks anmore?

2004-03-15 Thread Jan Schneider
Hi, before reporting a bug, I want to make sure that this is no intentional change. Are static methods no longer supported as callbacks? preg_replace_callback('/some pattern/', array('MyClass', 'Method'), $subject) raises a warning atm: Unable to call custom replacement function in ... Jan. --

Re: [PHP-DEV] RC1 of RC1

2004-03-15 Thread Jan Schneider
Zitat von Andi Gutmans <[EMAIL PROTECTED]>: I fixed get_object_vars() a couple of days ago. Can you check if this still occurs? No, that seems to have fixed it, thanks! At 01:52 PM 3/15/2004 +0100, Jan Schneider wrote: Zitat von Andi Gutmans <[EMAIL PROTECTED]>: I will roll RC1 on

Re: [PHP-DEV] RC1 of RC1

2004-03-15 Thread Jan Schneider
Zitat von Andi Gutmans <[EMAIL PROTECTED]>: I will roll RC1 on the 17th so if there are "serious" show stoppers speak up. Dunno what you consider "serious", but bug 2 http://bugs.php.net/bug.php?id=2 is on the ze2 level. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de

Re: [PHP-DEV] Parse error in parsedate.y

2004-03-02 Thread Jan Schneider
Zitat von Derick Rethans <[EMAIL PROTECTED]>: On Tue, 2 Mar 2004, Edin Kadribasic wrote: Same problem on win32 snap box which used to work fine. bison version is 1.75. Should be fixed in CVS now. Yeah, works again, thanks. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - N

Re: [PHP-DEV] Parse error in parsedate.y

2004-03-02 Thread Jan Schneider
Zitat von Jan Lehnardt <[EMAIL PROTECTED]>: Hi Jan, On 2 Mar 2004, at 12:25, Jan Schneider wrote: bison -y /home/jan/cvs/php5/ext/standard/parsedate.y -o /home/jan/cvs/php5/ext/standard/parsedate.c /home/jan/cvs/php5/ext/standard/parsedate.y:389.12: parse error, unexpected ":",

[PHP-DEV] Parse error in parsedate.y

2004-03-02 Thread Jan Schneider
bison -y /home/jan/cvs/php5/ext/standard/parsedate.y -o /home/jan/cvs/php5/ext/standard/parsedate.c /home/jan/cvs/php5/ext/standard/parsedate.y:389.12: parse error, unexpected ":", expecting ";" or "|" make: *** [/home/jan/cvs/php5/ext/standard/parsedate.c] Fehler 1 Jan. -- http://www.horde.org -

Re: [PHP-DEV] SimpleXML Docs

2004-01-23 Thread Jan Schneider
Zitat von Ken Tossell <[EMAIL PROTECTED]>: Hi Internals, I've just committed a new documentation module for SimpleXML, which should show up on php.net sometime. It's available at http://php.kennyt.com/newdocs/?q=ref.simplexml -- if you see any major errors (and there are some, I'm sure), ple

Re: [PHP-DEV] convert_to_writable_*

2004-01-12 Thread Jan Schneider
Zitat von Andi Gutmans <[EMAIL PROTECTED]>: > Any idea who added the following macros? Zeev in version 1.19: Tue Apr 18 18:23:28 2000 Add convert_to_writable_*_ex() macros (unused at this time) :-) Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - Neue Wege des Lernens ht

Re: [PHP-DEV] Re: Regarding the latest patch on fgetcsv() (stable branch)

2003-12-13 Thread Jan Schneider
Zitat von Rasmus Lerdorf <[EMAIL PROTECTED]>: > On Sat, 13 Dec 2003, Jan Schneider wrote: > > Maybe. Due to PHP lacking byte stream functions, working with str* is > the > > only solution atm. > > And my contention is that there is no way to do this right now. If y

Re: [PHP-DEV] Re: Regarding the latest patch on fgetcsv() (stable branch)

2003-12-13 Thread Jan Schneider
Zitat von Rasmus Lerdorf <[EMAIL PROTECTED]>: > On Sat, 13 Dec 2003, Jan Schneider wrote: > > I have to agree. While in the past it helped mb users to turn on > overloading > > if they wanted to use our framework, it will now break it. This is > because > &g

Re: [PHP-DEV] Re: Regarding the latest patch on fgetcsv() (stable branch)

2003-12-13 Thread Jan Schneider
Zitat von Derick Rethans <[EMAIL PROTECTED]>: > On Sat, 13 Dec 2003, Moriyoshi Koizumi wrote: > > > Overloading is evil, because functions like substr() are often > > used to splice a certain length of octets byte-wise while mb_substr() > > treats the sequence of octets on a character-basis. And o

Re: [PHP-DEV] Re: Regarding the latest patch on fgetcsv() (stable branch)

2003-12-13 Thread Jan Schneider
Zitat von Moriyoshi Koizumi <[EMAIL PROTECTED]>: > > The cool thing that mbstring provides is transparent overloading of > > some > > of the common string manipulation functions. This means that at least > > for > > a subset of applications, even though they may not have been written > > with > >

Re: [PHP-DEV] Re: Regarding the latest patch on fgetcsv() (stable branch)

2003-12-12 Thread Jan Schneider
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>: > On December 12, 2003 05:38 pm, Moriyoshi Koizumi wrote: > > And I don't think fgetcsv() is an exception, since htmlentities() can > > be referred to as an example that is placed in core and > > supports multibyte strings. As I mentioned, purging th

Re: [PHP-DEV] Compatibility problems with PHP 5

2003-11-27 Thread Jan Schneider
Zitat von Edin Kadribasic <[EMAIL PROTECTED]>: > On Thursday 27 November 2003 11:47, Jan Schneider wrote: > [snip] > > behaviour/notification and not working on-the-fly-generation of > stdClass > > objects. It's not that much of a problem for us as we will rel

Re: [PHP-DEV] Compatibility problems with PHP 5

2003-11-27 Thread Jan Schneider
Zitat von Andi Gutmans <[EMAIL PROTECTED]>: > Hi guys, > > Now that we're at a very advanced stage and the code freeze is coming up, > I > think it'd be a good idea to start running some PHP 4 applications on PHP > 5 > and see how easy things go. I'm sure we'll bump into some issues and many > of

[PHP-DEV] EXTRA_VERSION

2003-10-30 Thread Jan Schneider
... has not yet been reset to -dev in configure.in Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.

Re: [PHP-DEV] header() behaviour

2003-10-28 Thread Jan Schneider
Zitat von Tal Peer <[EMAIL PROTECTED]>: > On Tue, 28 Oct 2003, Gareth Ardron wrote: > > > I can't figure out if this is desired or not, if it's not, I'll happily > > draft up a patch to alter the behaviour - I just want to make sure > > before I do. > > Why should header() start parsing its argume

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-10-08 Thread Jan Schneider
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>: > On October 7, 2003 08:45 pm, Jan Schneider wrote: > > I never said that the current behaviour is in any way consistent. But > which > > behaviour the more logical one is, is debateable. Many languages > support >

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-10-07 Thread Jan Schneider
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>: >$a = null; > sort($a); > ?> > > Majority (if not all) array function, will error out when they encounter > a > variable that is not array when an array argument is expected. If > anything > this patch add consistency that helps to ma

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-10-07 Thread Jan Schneider
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>: > Perhaps, if PEAR developers wrote proper code & did not rely upon > unsupported > & undocumented features we would not have this problem. While they do, > these > problems will occur. If you do not write proper code, either don't turn > on > warnin

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-10-07 Thread Jan Schneider
is notice to be added to the PHP_4 and HEAD branch, but PHP_4_3 is the wrong place. > Jan Schneider wrote: > > > Zitat von Jani Taskinen <[EMAIL PROTECTED]>: > > > >> Passing array_merge*() anything else but arrays is undocumented. > >> These funct

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-10-06 Thread Jan Schneider
Zitat von Jani Taskinen <[EMAIL PROTECTED]>: > Passing array_merge*() anything else but arrays is undocumented. > These functions were meant to be used on arrays and this change > (very, VERY minor change, if I may say so) just "fixes" this. The only case I really care about are NULLs

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-10-05 Thread Jan Schneider
Mike Robinson wrote: Jay Smith wrote: As near as I can tell, leaving it in seems to be the way to go at the moment. Being as they're E_NOTICEs and not full-on E_WARNINGs and the fact that the actual behaviour of the function hasn't changed (except, of course, the E_NOTICEs), it seems to be a goo

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-09-27 Thread Jan Schneider
I *love* it when threads silently die. ;-) Will this problem actually adressed by anyone or will we again have to release new versions of our software just because a minor PHP came out or deal with a huge amount of user complaints? Zitat von Jan Schneider <[EMAIL PROTECTED]>: > Zita

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-09-23 Thread Jan Schneider
Zitat von Jay Smith <[EMAIL PROTECTED]>: > Jan Schneider wrote: > > > > > I generally agree (this is the purpose of E_NOTICE after all), but > there > > is a subtle difference between what has been fixed and what is broken > now. > > Passing NULLs to ar

Re: [PHP-DEV] Re: Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-09-23 Thread Jan Schneider
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>: > In my opinion the change is fine, given the current state of affairs a > transitional release between 4.3 & 5.0 does not seem likely. Therefor it > would only seem logical to give people a fair warning (E_NOTICE) that the > (wrong) behavior they ar

[PHP-DEV] Fwd: Re: #25494 [Com]: array_merge allowing "false" as argument (silent when non-array is passed)

2003-09-23 Thread Jan Schneider
Hi, the recent change to array_merge that now checks for IS_ARRAY breaks BC IMO. At least I know get a lot of E_NOTICEs everywhere. On Tue, 23 Sep 2003, jan at horde dot org wrote: > ID: 25494 > Comment by: jan at horde dot org > Reported By: enygma at phpdeveloper dot o

Re: [PHP-DEV] Incorrect locale support for decimal_point

2003-09-03 Thread Jan Schneider
Zitat von David Guerrero <[EMAIL PROTECTED]>: > Hi! > > I opened Bug #25246 some days ago. The bug was closed as "bogus" by > Sniper. > > I think that this issue (locale numeric settings) is not correctly > addressed in the php core. And i would like to open a discussion about > it, because i thin

Re: [PHP-DEV] php5 interfaces...

2003-07-15 Thread Jan Schneider
Zitat von Marcus BXrger <[EMAIL PROTECTED]>: > Hello Tony, > > Friday, July 11, 2003, 9:39:55 PM, you wrote: > > TB> In PHP5 I noticed this behaviou with interfaces. If I have an > interface > TB> with a method that takes no paramaters, an implementing class for > that > TB> interfaces can have t

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Jan Schneider
Zitat von Robin Ericsson <[EMAIL PROTECTED]>: > On Wed, 2003-07-09 at 14:46, Jan Schneider wrote: > > Zitat von Stanislav Malyshev <[EMAIL PROTECTED]>: > > > > > JS>> Click on "View branches" ;-) > > > > > > I'm s

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Jan Schneider
Zitat von Stanislav Malyshev <[EMAIL PROTECTED]>: > JS>> Click on "View branches" ;-) > > I'm sorry I see no view branches on http://cvs.php.net/cvs.php/Zend. > Could > you please help me with URL? You can only see branches in the file view, not in the directory view, because directories can't be

Re: [PHP-DEV] cvs.php.net

2003-07-09 Thread Jan Schneider
Zitat von Edin Kadribasic <[EMAIL PROTECTED]>: > EK>> You need to check out -r PHP_4_3 as ze1 does not exist in head. > > >How do I "check out -r PHP_4_3" on cvs.php.net website? > > Sorry I didn't realise you were talking about web interface to the > cvs. > > I have no idea how to view branches i

Re: [PHP-DEV] protected interface methods

2003-07-03 Thread Jan Schneider
Zitat von Moriyoshi Koizumi <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] (Marcus Börger) wrote: > > > Hello internals, > > > > It is of course correct that an interface method cannot be declared > private > > but i think it should be possible to declare it protected. > > I don't see the benefit to all

Re: [PHP-DEV] make test doesn't work on PHP_4_3

2003-07-03 Thread Jan Schneider
Zitat von Jani Taskinen <[EMAIL PROTECTED]>: > > Works fine here, get a fresh checkout. Doh! You shouldn't try to run the tester if you compiled --without-cli. ;-) > --Jani > > On Wed, 2 Jul 2003, Jan Schneider wrote: > > >/bin/sh: line 1: /home/

[PHP-DEV] make test doesn't work on PHP_4_3

2003-07-02 Thread Jan Schneider
/bin/sh: line 1: /home/jan/software/php43/: is a directory make: *** [test] Fehler 126 This is how the Makefile part looks like: test: $(SAPI_CLI_PATH) @TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \ TEST_PHP_SRCDIR=$(top_srcdir) \ CC="$(CC)" \

Re: [PHP-DEV] (ATTENTION) Pre-Beta

2003-06-28 Thread Jan Schneider
Zitat von Sterling Hughes <[EMAIL PROTECTED]>: > Source distro :: > > http://www.php.net/~sterling/php5/ > > Win32 binaries :: > > http://www.php.net/~edink/php-5.0.0b1-Win32.zip > > Download, compile, test. Just something that doesn't have something to do with the pre-beta, but this HEAD general

[PHP-DEV] Compile error with LDAP extension

2003-06-11 Thread Jan Schneider
Current HEAD: /home/jan/software/php5/ext/ldap/ldap.c: In function `_php_sasl_interact': /home/jan/software/php5/ext/ldap/ldap.c:474: error: `sasl_interact_t' undeclared (first use in this function) /home/jan/software/php5/ext/ldap/ldap.c:474: error: (Each undeclared identifier is reported only on

[PHP-DEV] Module name change to mod_php5/libphp5

2003-04-03 Thread Jan Schneider
Hi, this is sort of a best-practices-question: I used to test our stuff with different PHP versions by having them in separate CVS checkouts and just calling "make install" in these directories and restarting Apache. This worked fine as long as all versions used the same names for their files, e

Re: [PHP-DEV] magic_quotes_sybase and php_stripslashes

2003-03-31 Thread Jan Schneider
Quoting Jani Taskinen <[EMAIL PROTECTED]>: > Heh..so magic_quotes_sybase ini setting affects how stripslashes() > function works too? Pretty high WTF factor there. It should be > an additional option for php_stripslashes() that is passed where > appropriate. As long as it affects

Re: [PHP-DEV] ZE2 race condition

2003-03-29 Thread Jan Schneider
Quoting Zeev Suraski <[EMAIL PROTECTED]>: > At 04:56 26/03/2003, Jan Schneider wrote: > >Quoting Zeev Suraski <[EMAIL PROTECTED]>: > > > > > That's quite intentional - assignments in ZE2 are handle based, > versus > > > the > > > valu

Re: [PHP-DEV] ZE2 race condition

2003-03-25 Thread Jan Schneider
(). That's true of course, but serialize() still shouldn't segfault, no? > At 06:13 25/03/2003, Jan Schneider wrote: > >Running the following code: > > > >class Foo { > > var $bar_ref; > >} > > > >class Bar { > > var $foo_ref; > &g

[PHP-DEV] ZE2 race condition

2003-03-25 Thread Jan Schneider
Running the following code: class Foo { var $bar_ref; } class Bar { var $foo_ref; } $foo = new Foo(); $bar = new Bar(); $foo->bar_ref = $bar; $bar->foo_ref = $foo; var_dump($foo); var_dump($bar); $s = serialize($foo); var_dump($s); $s = serialize($bar); var_dump($s); in PHP_4_3 results t

Re: [PHP-DEV] __LINE__ != __LINE__?

2003-03-25 Thread Jan Schneider
Quoting Edin Kadribasic <[EMAIL PROTECTED]>: > > Current HEAD: > > > > die("line: " . __LINE__) works as expected, but die(__LINE__) > doesn't output > > anything. > > That's because die(int) will set exit status and not print anything. > die(string) prints string and exits. Hm, that should perh

[PHP-DEV] __LINE__ != __LINE__?

2003-03-25 Thread Jan Schneider
Current HEAD: die("line: " . __LINE__) works as expected, but die(__LINE__) doesn't output anything. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft -- PHP Internals - PHP Runtime Development

[PHP-DEV] Variable method names

2003-03-23 Thread Jan Schneider
Is there a reason or is it a bug that the following code doesn't work anymore? class Foo { function bar() { echo "bar"; } } $method = "bar"; Foo::$method(); parse error, unexpected '(' Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge htt

Re: [PHP-DEV] Fields of extended class not instatiated

2003-03-23 Thread Jan Schneider
Quoting Zeev Suraski <[EMAIL PROTECTED]>: > Should be fixed now. Thanks for the test case! > > Zeev > > At 17:43 22/03/2003, Jan Schneider wrote: > >This code run in current code (HEAD): > > > >class Foo { > > var $arr = array(); > >}

[PHP-DEV] Fields of extended class not instatiated

2003-03-22 Thread Jan Schneider
This code run in current code (HEAD): class Foo { var $arr = array(); } class FooX extends Foo { function bar() { var_dump($this->arr); } } $foo = new FooX(); $foo->bar(); produces "NULL" as the output. I guess this is not the intended behaviour? Jan. -- http://www.hor