Re: [PHP-DEV] [RFC][Discussion] Parser extension API

2015-02-18 Thread Jared Williams
On Wed, 2015-02-18 at 16:17 +0100, Nikita Popov wrote: > On Wed, Feb 18, 2015 at 4:06 PM, Cesar Rodas wrote: > > > > > On 18/02/15 15:59, Nikita Popov wrote: > > > On Wed, Feb 18, 2015 at 7:22 AM, Dmitry Stogov wrote: > > > > > >> Hi, > > >> > > >> On Tue, Feb 17, 2015 at 2:46 PM, Alexander Lisa

RE: [PHP-DEV] PHP Unicode extension in PHP6

2007-05-22 Thread Jared Williams
> -Original Message- > From: Tomas Kuliavas [mailto:[EMAIL PROTECTED] > Sent: 21 May 2007 19:26 > To: Andrei Zmievski > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] PHP Unicode extension in PHP6 > > >> 0xC4 and 0x85 are hex codes for latin small letter a with > ogonek in > >>

RE: [PHP-DEV] bitwise operations and Unicode strings

2007-05-30 Thread Jared Williams
> -Original Message- > From: Antony Dovgal [mailto:[EMAIL PROTECTED] > Sent: 30 May 2007 09:21 > To: [EMAIL PROTECTED] > Cc: php-dev > Subject: Re: [PHP-DEV] bitwise operations and Unicode strings > > On 30.05.2007 04:15, Richard Lynch wrote: > >> This code outputs "3" in native mode a

RE: [PHP-DEV] RFC: mark functions as const for possible optimizations

2007-09-25 Thread Jared Williams
Hi, Just a thought, now dl() has been deprecated and disabled in SAPIs (except CLI,CGI,embed), would that mean extension_loaded() would become a optimizable function? So something like include extension_loaded('gmp') ? 'GMPFoo.php' : 'PHPFoo.php'; Would be optimized to be more APC friendly?

RE: [PHP-DEV] Class Posing

2007-10-02 Thread Jared Williams
Ideally think I'd prefer it finer grained... interface A { } class AImpl implements A { } register('A', function() { return new AImpl(); }); register('Foo', function() { return new Bar(); }); $foo = new Foo(); $a = new A(); Would also require fun

RE: [PHP-DEV] Class Posing

2007-10-02 Thread Jared Williams
I think they end up using the dependency injection pattern. http://www.picocontainer.org/ java implementation with a PHP port. http://sourceforge.net/projects/phemto/ is a more lightweight PHP implementation. Its README http://phemto.cvs.sourceforge.net/phemto/phemto/README?revision=1.1.1.1&vi

RE: [PHP-DEV] [Patch] http_fopen_wrapper.c and allowing any response code w/o warning

2007-11-02 Thread Jared Williams
Yes, had fun with trying to use http php streams ... Imo, 2xx status codes should always be considered succesful. http://bugs.php.net/bug.php?id=36947 http://marc.info/?l=php-internals&m=111384113712112&w=2 J > -Original Message- > From: David Zülke [mailto:[EMAIL PROTECTED] > Sent:

[PHP-DEV] output_add_rewrite_var_callback?

2005-03-22 Thread Jared Williams
Hi, Just wondered if a callback variant of output_add_rewrite_var() has ever been considered for inclusion in PHP. The callback prototype being of the form rewrite_callback($href, $name) { return 'value'; } output_add_rewrite_var_callback('foo', 'rewrite_callback'); possibly with the

RE: [PHP-DEV] pdo: cannot send NULL values thru bound parameters.

2005-03-24 Thread Jared Williams
> $stmt = $this->prepareStatement('insert into bla (name) > values (:name)'); $name = NULL; var_dump($name); // $name is > NULL $stmt->bindParam(':name', $name); var_dump($name); // > $name is an empty string > > am i overlooking something obvious? $stmt->bindParam(':name', $name, PDO_PARAM_N

RE: [PHP-DEV] pdo: binding variables supplied to execute() is NotVeryUseful(tm)...

2005-03-25 Thread Jared Williams
> $sql = "insert into $table ($col_list) values ($bind_list)"; Can I just point out that you've just negated the whole reason for having parameters in the first place, imo. $table is just as vulnerable to an SQL injection attack, as any of the parameters where before we had parameter bind

RE: [PHP-DEV] pdo: binding variables supplied to execute() is NotVeryUseful(tm)...

2005-03-25 Thread Jared Williams
> Am 25.03.2005 um 14:36 schrieb Jared Williams: > > Can I just point out that you've just negated the whole reason for > > having parameters in the first place, imo. > > huh? just 'cuase you dislike my php-code you question the > "value" of bi

RE: [PHP-DEV] pdo: binding variables supplied to execute() is NotVeryUseful(tm)...

2005-03-25 Thread Jared Williams
> jared, i fail to understand your "contribution" to the real > subject ("do we need a colon in from of every bound variable or not"). I was pointing out your design was flawed. Which if was made more secure, like the following, the colons become less of an issue. $db->insert('some_table', arr

RE: [PHP-DEV] pdo: binding variables supplied to execute() is NotVeryUseful(tm)...

2005-03-25 Thread Jared Williams
> > my point is that on internals@ we usually discuss developing > php and not developing *with* php - > Poor practices and insecure code should never go unchallenged anywhere, unless its cleared marked as such. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vi

RE: [PHP-DEV] why does PHP accept [new] session ids from client?

2005-03-31 Thread Jared Williams
> >> "why is it this way" should also be posted to the general > newsgroup, > >> it barely has anything to do with internals > > > > > > The behavior of the session extension has everything to do with > > internals. I'm not sure why everyone is sending him to > php-general. No > > one there

RE: [PHP-DEV] Re: cvs: php-src /ext/spl php_spl.c

2005-04-05 Thread Jared Williams
> > I'd say that all extensions should really follow the 1 prefix > per ext for anything that ends up in the global namespace > (classes, functions. > constants ..) rule. Just as we did in the past with new > procudural extensions. > > This has the advantage of: > - limiting the number of nam

RE: [PHP-DEV] PDO proposal: add PDOStatement::nextResult() method to support stored procedures

2005-04-09 Thread Jared Williams
> > I've been writing a chapter on database programming with PHP, > using PDO, and ran across a scenario that has not yet been > fulfilled by the PDO API. Many databases (Apache Derby, DB2, > Microsoft SQL Server, MySQL 5, and PostgreSQL to a certain > extent) support stored procedures that c

[PHP-DEV] HTTP streams, status codes & WebDAV

2005-04-18 Thread Jared Williams
Hi, Was hoping to use PHP streams API to query a WebDAV server, something along the lines of.. $context = stream_context_create( array( 'http' => array('method' => 'PROPFIND') ) ); $f

RE: [PHP-DEV] Object oriented page templates in PHP

2012-04-09 Thread Jared Williams
> -Original Message- > From: Tom Boutell [mailto:t...@punkave.com] > Sent: 09 April 2012 16:10 > To: PHP Internals > Subject: [PHP-DEV] Object oriented page templates in PHP > > There has been talk of making PHP a better templating > language. After all, it did start out there. > > Folk

RE: [PHP-DEV] Traits and memory size

2012-04-09 Thread Jared Williams
> -Original Message- > From: Ben Schmidt [mailto:mail_ben_schm...@yahoo.com.au] > Sent: 10 April 2012 02:35 > To: internals@lists.php.net > Subject: [PHP-DEV] Traits and memory size > > Hi! > > Just a quick question about traits. > > During the flattening process, is a copy made of t

RE: [PHP-DEV] List comprehensions and generator expressions for PHP

2012-06-28 Thread Jared Williams
> -Original Message- > From: Nikita Popov [mailto:nikita@gmail.com] > Sent: 28 June 2012 11:49 > To: PHP internals > Subject: [PHP-DEV] List comprehensions and generator > expressions for PHP > > Hi internals! > > Python and several other languages include support for list > comp

RE: [PHP-DEV] Internal iteration API

2012-07-13 Thread Jared Williams
> -Original Message- > From: Nikita Popov [mailto:nikita@gmail.com] > Sent: 11 July 2012 23:17 > To: PHP internals > Subject: [PHP-DEV] Internal iteration API > > Hi internals! > > Currently PHP does not have an internal iteration API that > supports both arrays and Traversable o

RE: [PHP-DEV] Re: Generators in PHP

2012-07-21 Thread Jared Williams
> -Original Message- > From: Nikita Popov [mailto:nikita@gmail.com] > Sent: 20 July 2012 21:46 > To: Nikita Popov > Cc: PHP internals > Subject: [PHP-DEV] Re: Generators in PHP > > On Tue, Jun 5, 2012 at 7:35 PM, Nikita Popov > wrote: > > Hi internals! > > > > In the last few day

RE: [PHP-DEV] Re: Generators in PHP

2012-07-25 Thread Jared Williams
> -Original Message- > From: Nikita Popov [mailto:nikita@gmail.com] > Sent: 22 July 2012 16:53 > To: Jared Williams > Cc: Nikita Popov; PHP internals > Subject: Re: [PHP-DEV] Re: Generators in PHP > > On Sat, Jul 21, 2012 at 6:31 PM, Jared Williams >

RE: [PHP-DEV] [RFC] Generators

2012-08-13 Thread Jared Williams
> -Original Message- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: 13 August 2012 03:49 > To: Brian Moon > Cc: Nikita Popov; PHP internals > Subject: Re: [PHP-DEV] [RFC] Generators > > Brian, > > On Sun, Aug 12, 2012 at 4:08 PM, Brian Moon > wrote: > > > Hi Nikita, >

RE: [PHP-DEV] [RFC] Generators

2012-08-19 Thread Jared Williams
> -Original Message- > From: Stas Malyshev [mailto:smalys...@sugarcrm.com] > Sent: 20 August 2012 00:08 > To: Derick Rethans > Cc: Nikita Popov; PHP internals > Subject: Re: [PHP-DEV] [RFC] Generators > > Hi! > > > I am against this. This is even more magic in PHP. Is it > really tha

RE: [PHP-DEV] [RFC] Generators

2012-08-20 Thread Jared Williams
> -Original Message- > From: Nikita Popov [mailto:nikita@gmail.com] > Sent: 20 August 2012 14:12 > To: Ángel González > Cc: Rasmus Lerdorf; Stas Malyshev; Derick Rethans; PHP internals > Subject: Re: [PHP-DEV] [RFC] Generators > > On Mon, Aug 20, 2012 at 1:56 PM, Ángel González >

RE: [PHP-DEV] [VOTE] Generators

2012-08-29 Thread Jared Williams
> -Original Message- > From: Nikita Popov [mailto:nikita@gmail.com] > Sent: 25 August 2012 17:11 > To: PHP internals > Subject: [PHP-DEV] [VOTE] Generators > > Hi internals! > > I think the generators RFC has been discussed thoroughly > enough by now, so I opened the vote: > >

RE: [PHP-DEV] [VOTE] Generators

2012-08-29 Thread Jared Williams
> -Original Message- > From: Hannes Magnusson [mailto:hannes.magnus...@gmail.com] > Sent: 29 August 2012 22:50 > To: Derick Rethans > Cc: Nikita Popov; Jared Williams; PHP internals > Subject: Re: [PHP-DEV] [VOTE] Generators > > On Wed, Aug 29, 2012 at

[PHP-DEV] Foreach list behaviour

2012-09-02 Thread Jared Williams
Hi, Just looking at the foreach list behaviour and it does this... $i = [1, 2, 3]; foreach($i as list($a, $b)) var_dump($a, $b); Outputs NULL NULL NULL NULL NULL NULL There is no test I can see covering this, so cannot tell if its expected. To me, $i does not meet the exp

RE: [PHP-DEV] Re: Arrays which have properties of sets

2012-10-07 Thread Jared Williams
> -Original Message- > From: Rasmus Schultz [mailto:ras...@mindplay.dk] > Sent: 07 October 2012 02:10 > To: internals@lists.php.net > Subject: [PHP-DEV] Re: Arrays which have properties of sets > > First off, let me say - as you pointed out, when the values > are unique, they are best

Re: [PHP-DEV] New HashTable implementation?

2016-04-29 Thread Jared Williams
On Thu, 2016-04-28 at 19:04 -0500, Matt Wilmas wrote: > Hi all, > > Last June, it was briefly mentioned about changing PHP's string hash > function [1] (DJB33 *seems* pretty horrible, after all, as far as > collisions...).  So 8 months ago I tried almost, if not, a half-dozen > of > them (includi

Re: [PHP-DEV] [RFC][DISCUSSION] Argon2 Password Hash

2016-08-07 Thread Jared Williams
On Fri, 2016-08-05 at 07:47 -0500, Charles R. Portwood II wrote: > Hello Internals, > > Due to a couple issue with the original RFC's scope, the RFC for > introducing Argon2 as an alternative hashing algorithm for the > password_* > functions was closed shortly after starting on Monday. > > The f

RE: [PHP-DEV] annoying DOM limitation

2005-05-13 Thread Jared Williams
> > While hacking on a PHPDoc -> WSDL generator, I ran into an > annoying limitation in the dom extension: you can't add a > namespace to a dom document unless you have an element in > that namespace. Why might you want to do this? Well, a > common thing is to have your xml-schema types to b

RE: [PHP-DEV] PHP 5.1

2005-06-06 Thread Jared Williams
> > JC>>Since when did anyone care that we were giving users > enough rope to > JC>>hang themselves with? > > There's rope and rope. Giving rope is one thing, giving a > pack of explosives is another. > > JC>>I don't think we should worry ourselves with people who > don't know > JC>>how to

RE: [PHP-DEV] PHP 5.1

2005-06-07 Thread Jared Williams
> Goto is a plainly bad idea. Yes it has its uses, but 99% of > the time it would just be completely, mercilessly, utterly abused. Its not good or bad, just a language construct. Its how you use it. > As the people taking the language forward, it's the > responsability of PHP developers not to

RE: [PHP-DEV] PHP 5.1

2005-06-07 Thread Jared Williams
> > > As for my own example, many state machines make extensive > use of goto > > to avoid recursive calls. > > Goto is not required for that. State machines such as the > following > > state1: > ... > > goto state99; > > state99: >

[PHP-DEV] 5.1.0RC5-dev stability issue

2005-11-06 Thread Jared Williams
Hi, I'm having stability issues with isapi php5.1 RC4 (php -I reports rc5, but it was rc4 dled from http://downloads.php.net/ilia/), its either throwing an "PHP has encountered an Access Violation at 77FCC024" or "The remote procedure call failed." Just asking how to gather mor

RE: [PHP-DEV] 5.1.0RC5-dev stability issue

2005-11-07 Thread Jared Williams
e are some of the reasons that we recommend that you > avoid using PHP in threaded environments; it's much more cost > effective to go with fastcgi; Zend's WinEnabler is modestly > priced, and Shane Caraveo's implementation is free. > > --Wez. > > On 11/6/0

RE: [PHP-DEV] 5.1.0RC5-dev stability issue

2005-11-07 Thread Jared Williams
have any external dependancies afaik. And they're all packaged within the same zip. Jared > On Mon, 7 Nov 2005, Jared Williams wrote: > > > > > > > Ok, its just that 5.1.0 RC1 was quite stable. Can no longer > find it to download to check though. > > > >

RE: [PHP-DEV] Reflection API idea

2005-11-23 Thread Jared Williams
Hi, This has been do-able in PHP5 for somewhile, (wrote a reflection browser while ago to show such things) http://www.ren.dotgeek.org/classbrowser/?class=DOMCdataSection Jared > Here's an idea for the maintainer of the Reflection API, to > be able to view the class a method is define

RE: [PHP-DEV] Reflection API idea

2005-11-23 Thread Jared Williams
Hi, > hey cool stuff! Any chance you could publish this or make > it a PEAR class or put it into the newly created Reflection > extension as example? http://sourceforge.net/projects/phpclassbrowser/ Its in CVS at sourceforge. (Still haven't gotten around to reading up on how to create fil

RE: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there)

2005-11-25 Thread Jared Williams
Hi, As a QFE, does changing ini setting disable_class to include date fix this? Appears can declare a date class fine. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there)

2005-11-25 Thread Jared Williams
> Hi, > > As a QFE, does changing ini setting disable_class to include > date fix this? Appears can declare a date class fine. > Er, I meant disable_classes of course ;) Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] namespace separator ideas

2005-11-26 Thread Jared Williams
> Hi all, > > I have only one caveat with the \ separator, which is that it > is a little bit too similar to division with /, and can > result in some confusing code like: > > namespace name1 { > class name2{} > } > define('name1', 1); > define('name2', 2); > > $a = new name1\name2; > $

RE: [PHP-DEV] Re: Labeled Breaks (not the G-word)

2005-11-27 Thread Jared Williams
> Guys, > > Laughter has nothing to do with it. > > However, as discussed between those who attended the meeting > in Paris, goto earned its bad connotations for a reason. It > was agreed that providing a general-purpose C-goto equivalent > is not a good idea because it *will* very quickly le

RE: [PHP-DEV] Re: namespace separator poll, update

2005-11-27 Thread Jared Williams
> > On 11/27/05, Sara Golemon <[EMAIL PROTECTED]> wrote: > > > > Other possibilities: > > ** Double-Star+2 > > ;;Double-Semicolon +2 > > >>> Reverse Heredoc Operator -1 > > ?? Double Question -1 > > > > -Sara > > I think we should use a non breaking space ( \xA0 ) as the > separator

RE: [PHP-DEV] Re: Named arguments revisited

2006-01-12 Thread Jared Williams
> Andrei Zmievski wrote: > > On Jan 9, 2006, at 4:09 AM, Aidan Lister wrote: > > > >> As useful functions tend to increase in complexity over > time, often > >> so does the number of parameters. > >> > >> It soon gets to the point where function calls look like: > >> foo(true, false, false, fa

RE: [PHP-DEV] Re: Named arguments revisited

2006-01-15 Thread Jared Williams
I guess adding named arguments of internal functions would enable Reflection to properly reflect on function and method parameters of internal functions. Which would be nicer than the inconsistent state that exists now. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

RE: [PHP-DEV] Naming Arguments

2006-01-18 Thread Jared Williams
> From the perspective of providing reflection in general and > giving something for editors with code completion to use in > specific, would there be an interrest in backfilling the > arg_info structs for internal functions (both core and > otherwise) with argument naming and type hinting ev

RE: [PHP-DEV] JSON inclusion in core

2006-01-21 Thread Jared Williams
> At 06:01 PM 1/20/2006, Rasmus Lerdorf wrote: > >Andi Gutmans wrote: > >>Yeah, but the main problem with this kind of stuff is when > you start > >>mapping classes and even references. I think it requires some > >>additional pluming to be really useful for writing robust > >>JavaScript<-->PH

RE: [PHP-DEV] JSON inclusion in core

2006-01-21 Thread Jared Williams
> AFAIK an object in JSON is just an associative array in PHP, > so I don't see the point here in implementing that in > anything else than an associative array on the PHP side. > The json extension currently creates stdClass objects. $config = '{"windowA": { "left":

RE: [PHP-DEV] JSON inclusion in core

2006-01-21 Thread Jared Williams
> > At 04:25 AM 1/21/2006, Jared Williams wrote: > >What are the security implications of doing this? > >Creating objects based on a string from a untrusted source seems not > >good idea, unless can prevent tampering (with an HMAC or something). > > Well I think

RE: [PHP-DEV] Re: zend_hash.c fishy code

2006-01-30 Thread Jared Williams
> you are missing my point. My point is that when a hashtable > contains these two elements > > example: > > BUCKET_ENTRY for h=15 > --- Bucket1 : key == numeric -> h= numeric hash value == 15 > \ Bucket2: key == some string key, with a hash > value equal to 15 > > Lets assume we

[PHP-DEV] Custom Streams, fclose & stream_close

2006-02-13 Thread Jared Williams
Hi, Is the PHP manual correct in that fclose() returns a bool, but a custom wrapper stream_close() is void? Would like to signal a problem if I have a problem closing a custom stream. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.n

RE: [PHP-DEV] [PATCH] Custom Streams, fclose & stream_close

2006-02-15 Thread Jared Williams
Hi, > stream_close can return any value it likes... however, it is > ignored and php_userstreamop_close always returns success to > the streams layer. > This is a bug, but should be simple to fix. (volunteers > welcome; I don't have a current cvs checkout). > > --Wez. This should fix it, I t

RE: [PHP-DEV] [PATCH] Custom Streams, fclose & stream_close

2006-02-15 Thread Jared Williams
> > > stream_close can return any value it likes... however, it > is ignored > > > and php_userstreamop_close always returns success to the streams > > > layer. > > > This is a bug, but should be simple to fix. (volunteers > welcome; I > > > don't have a current cvs checkout). > > > > This s

RE: [PHP-DEV] recover from a segfault

2006-02-24 Thread Jared Williams
> The problem is that setrlimit() need privilege to expand the > process stack. > I don't think it's a good idea to use this system call to fix > the too-high-function-stack bug. > There is no really way to fix correctly this bug. > However I think we should re-examined the execution flow of >

RE: [PHP-DEV] Revisiting output control code

2006-02-27 Thread Jared Williams
> I'd like to suggest that we revisit the output control > (output buffering) code base. > The current implementation uses way too less commands to do > too many different operations, which almost always causes > problems with output handlers that need to maintain a state > or context. > > Sh

RE: [PHP-DEV] phps line numbering

2006-03-15 Thread Jared Williams
> > Patches have been written and languish simply awaiting inclusion in > > HEAD > > Johannes' method (..) doesn't copy & > paste well in FireFox 1.5 -- you might consider this a FF > problem, but in any case, line numbers are pasted, so this is > really a pain for sharing code. > > Un

RE: [PHP-DEV] phps line numbering

2006-03-16 Thread Jared Williams
> > Jared Williams wrote: > > Replacing the list, with divs and using css generated content to > > display the line numbers, cleans up the paste output but won't get > > ... and doesn't work in IE. So no real win here. The semantic > solution would be to

RE: [PHP-DEV] phps line numbering

2006-03-17 Thread Jared Williams
> Sorry, I meant to send my first mail to the entire list about > this, but http://pastebin.com works fine here in firefox, > although Jared Williams reported back that it pastes the line > numbers for him. > Version and OS differences perhaps? I don't have a machine to

RE: [PHP-DEV] open_basedir_for_include

2006-03-25 Thread Jared Williams
> > Sara Golemon wrote: > > The PDM recommendation covering the removal of safe_mode included a > > note on expanding the role of open_basedir. To that end, > I'd like to > > propose introducing a new ini option: > open_basedir_for_include which > > would allow using include/require(_once)

RE: [PHP-DEV] __init magic method

2013-01-23 Thread Jared Williams
> -Original Message- > From: Pete Boere [mailto:p...@the-echoplex.net] > Sent: 22 January 2013 12:30 > To: internals@lists.php.net > Subject: [PHP-DEV] __init magic method > > Has there ever been any discussion on an __init magic method > for bootstraping static properties on class lo

RE: [PHP-DEV] Bug #64910: Line number of $e = new Exception vs. line number of throw $e

2013-05-23 Thread Jared Williams
> -Original Message- > From: Sebastian Bergmann [mailto:sebast...@php.net] > Sent: 23 May 2013 21:18 > To: internals@lists.php.net > Subject: [PHP-DEV] Bug #64910: Line number of $e = new > Exception vs. line number of throw $e > > Hi! > > The error message that is created for an u

[PHP-DEV] RE: [PHP-DOC] Re: [PHP-DEV] Summer of Code

2006-04-15 Thread Jared Williams
> -Original Message- > From: Gabor Hojtsy [mailto:[EMAIL PROTECTED] > Sent: 15 April 2006 13:24 > To: Nuno Lopes > Cc: Rasmus Lerdorf; internals; PHPdoc > Subject: Re: [PHP-DOC] Re: [PHP-DEV] Summer of Code > > Nuno Lopes wrote: > >> Google is doing their Summer of Code thing again thi

RE: [PHP-DEV] RE: [PHP-DOC] Re: [PHP-DEV] Summer of Code

2006-04-15 Thread Jared Williams
> > How about moving away from using system entities to construct the > > manual and using Xinclude instead? (See the mysql ref > manual docbook > > sources) This would make the base pages independent from > each other, and loadable into a DOMDocument, which could be > transformed with xslt.

RE: [PHP-DEV] ext/filter, add input_get_args, support of scalar orarray result

2006-05-02 Thread Jared Williams
> -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] > Sent: 02 May 2006 07:42 > To: [EMAIL PROTECTED] > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] ext/filter, add input_get_args, > support of scalar orarray result > > Pierre wrote: > > I put a small example

[PHP-DEV] PHP 5.1.3, IIS & FastCGI

2006-05-03 Thread Jared Williams
Hi, It seems I can not get PHP 5.1.3 & FastCGI to work. Had 5.1.3RC2 working with FastCGI. Was this a planned break, and requires some different means of getting it working? Or should I go file a bug report? Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

RE: [PHP-DEV] PHP 5.1.3, IIS & FastCGI

2006-05-03 Thread Jared Williams
> -Original Message- > From: Dmitry Stogov [mailto:[EMAIL PROTECTED] > Sent: 03 May 2006 12:33 > To: [EMAIL PROTECTED]; internals@lists.php.net > Subject: RE: [PHP-DEV] PHP 5.1.3, IIS & FastCGI > > It wasn't planned. > What exactly doesn't work? > Appears no requests get to the worke

RE: [PHP-DEV] PHP 5.1.3, IIS & FastCGI

2006-05-03 Thread Jared Williams
> > > > -Original Message- > > From: Dmitry Stogov [mailto:[EMAIL PROTECTED] > > Sent: 03 May 2006 12:33 > > To: [EMAIL PROTECTED]; internals@lists.php.net > > Subject: RE: [PHP-DEV] PHP 5.1.3, IIS & FastCGI > > > > It wasn't planned. > > What exactly doesn't work? > > > > Appears n

RE: [PHP-DEV] PHP 5.1.3, IIS & FastCGI

2006-05-03 Thread Jared Williams
> > It should be already fixed in CVS. > Please check. > Ah. K :) Will check once the next snap is built. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] PHP 5.1.3, IIS & FastCGI

2006-05-03 Thread Jared Williams
> > > > It should be already fixed in CVS. > > Please check. > > > > Ah. K :) > > Will check once the next snap is built. > > Jared > Just installed todays' 18:30 snap, and its working. Cheers. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://

RE: [PHP-DEV] array type hint and SPL array interfaces

2006-05-09 Thread Jared Williams
> > Hi Marcus! > > I wondered, why PHP complains, if you have an array type hint > in a method prototype and provide an object to this method, > that implements the SPL interfaces to use objects as arrays. > I would expect that, if an object can be handled exactly like > an array, PHP shoul

RE: [PHP-DEV] Re: Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Jared Williams
> Pierre wrote: > > I forgot to mention how vicious such changes can be. Most > of times the > > related tests are "updated" in the same commit (or right after) to > > follow the new behavior. Making nearly impossible to know about the > > breakages without duplicating core tests in our apps.

RE: [PHP-DEV] Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Jared Williams
> -Original Message- > From: Derick Rethans [mailto:[EMAIL PROTECTED] > Sent: 11 May 2006 15:07 > To: PHP Developers Mailing List > Subject: Re: [PHP-DEV] Stop Breaking Our Apps For the Sake of OO > > On Thu, 11 May 2006, Derick Rethans wrote: > > > While I welcome new developments in

RE: [PHP-DEV] #line C macro equivalent in php ?

2006-05-11 Thread Jared Williams
> Hello William, > > as long as php has no goto no such generator is capable of > generating php code. > When that changes we want to have > something alike of course. But actuall it is already in HEAD > ... So thenWhy not cimply go with this: > #line > to simple becuase the tools in

RE: [PHP-DEV] Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Jared Williams
> > Jared Williams wrote: > > > > Interesting logic break too... > > > > $foo = new stdClass(); > > if ($foo == null || $foo != null) { echo 'Never gets echoed'; } > > From a pure computer science point of view, the above makes > comple

RE: [PHP-DEV] xmlwriter_write_raw() not in 5.1.4 yet?

2006-05-15 Thread Jared Williams
> > I'm on the latest and greatest PHP 5.1.4. I can see the > function I think I want in the manual: > >http://us3.php.net/manual/en/function.xmlwriter-write-raw.php > > But the manual says it's only in CVS. I confirmed that I > don't have it: > > * Fatal error: Call to undefined

RE: [PHP-DEV] Re: private, protected, readonly, public

2006-05-16 Thread Jared Williams
> On May 13, 2006, at 7:18 PM, Marcus Boerger wrote: > > > hehe, maybe confused with delphi or borlands c++ > additons? Speaking > > of which before we add 'readonly' we should go for full property > > support but on the other hand that might be a little bit too much > > until php is used

RE: [PHP-DEV] Flamewar Summary

2006-05-17 Thread Jared Williams
> There are 2 PHP 5.2 changes there has been a lot of back and > forth flaming going around and we need to finally come to a > decision about. > > The two topics are: > > Inclusion of E_STRICT and E_RECOVERABLE_ERROR into E_ALL > Addition of support for dynamic statics ala: class foo {} > fo

RE: [PHP-DEV] RFC array functions

2006-05-27 Thread Jared Williams
> -Original Message- > From: Marcus Boerger [mailto:[EMAIL PROTECTED] > Sent: 27 May 2006 22:28 > To: internals@lists.php.net > Subject: [PHP-DEV] RFC array functions > > Hello internals, > > i'd like to add two array functions: > > - bool array_has_more(array $array) > > checks

RE: [PHP-DEV] Re: strlen() under unicode.semantics

2006-06-21 Thread Jared Williams
> > > Enjoyed Andrei's talk at the NYPHP Conference last week > about unicode in > > PHP 6. He mentioned that when unicode.semantics is on, > strlen() will > > return the number of characters rather than the number of > bytes, like > > mb_string() does or strlen() if mbstring.func_overload is

RE: [PHP-DEV] RFC: Error handling in HTTP input decoding

2006-06-22 Thread Jared Williams
> -Original Message- > From: Andrei Zmievski [mailto:[EMAIL PROTECTED] > Sent: 22 June 2006 22:46 > To: PHP Internals > Cc: PHP I18N > Subject: [PHP-DEV] RFC: Error handling in HTTP input decoding > > I'd like to solicit opinions on how we should treat > conversion failures > during

RE: [PHP-DEV] Re: [PHP-I18N] RFC: Error handling in HTTP input decoding

2006-07-10 Thread Jared Williams
> P.S. - Has anyone considered offering up an RFC to IETF or > W3C about adding > a header to the spec? Or just asking the nice Firefox folks > to blaze the > trail with an X-header? PHP can't be the only web-language > dealing with > this issue. W3 standard is to have the charset paramete

RE: [PHP-DEV] Re: [PHP-I18N] RFC: Error handling in HTTP input decoding

2006-07-10 Thread Jared Williams
> > > > P.S. - Has anyone considered offering up an RFC to IETF or > > W3C about adding > > a header to the spec? Or just asking the nice Firefox folks > > to blaze the > > trail with an X-header? PHP can't be the only web-language > > dealing with > > this issue. > > W3 standard is to ha

RE: [PHP-DEV] Re: [PHP-I18N] RFC: Error handling in HTTP input decoding

2006-07-10 Thread Jared Williams
> -Original Message- > From: Andrei Zmievski [mailto:[EMAIL PROTECTED] > Sent: 10 July 2006 23:50 > To: [EMAIL PROTECTED] > Cc: 'Sara Golemon'; internals@lists.php.net > Subject: Re: [PHP-DEV] Re: [PHP-I18N] RFC: Error handling in > HTTP input decoding > > > W3 standard is to have the

RE: [PHP-DEV] Re: PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date php_date.c php_date.h)

2006-07-19 Thread Jared Williams
> -Original Message- > From: Lester Caine [mailto:[EMAIL PROTECTED] > Sent: 19 July 2006 09:53 > To: Derick Rethans > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Re: PEAR::Date broken (Was: [PHP-CVS] > cvs: php-src(PHP_5_2) /ext/date php_date.c php_date.h) > > Derick Rethans

RE: [PHP-DEV] RfC: rethink OO inheritance strictness

2006-07-21 Thread Jared Williams
> Hi (Marcus), > > unfortunately I'm not very happy with the direction OO > strictness takes > in PHP. I'm sure I'm not alone and many people second this feeling. > > > Precisely, let's have a look at the following: > > [EMAIL PROTECTED]:~/build/php-5.2-debug$ cli > -d"error_reporting=8191"

RE: [PHP-DEV] Adding pecl/zip to 5.2

2006-07-21 Thread Jared Williams
> Many people (incl. php devs) asked me if I can include zip in 5.2.0. > Ilia thought it was too late in the game and planed to do it in 5.2.1. > > I like to have it in, as experimental. > > Please note that it intoduces a new class called Zip, but I > never saw a > php zip implementation name

RE: [PHP-DEV] testing filter ext in RC1

2006-07-28 Thread Jared Williams
Hi, An empty string returns 0. php -r "$var=''; var_dump(filter_data($var, FILTER_VALIDATE_INT));" int(0) Which maybe is what was intended, but imho still should return false. Jared > -Original Message- > From: Pierre [mailto:[EMAIL PROTECTED] > Sent: 28 July 2006 17:44 > To:

RE: [PHP-DEV] testing filter ext in RC1

2006-07-28 Thread Jared Williams
> -Original Message- > From: Pierre [mailto:[EMAIL PROTECTED] > Sent: 28 July 2006 18:34 > To: [EMAIL PROTECTED] > Cc: Kevin Waterson; internals@lists.php.net > Subject: Re: [PHP-DEV] testing filter ext in RC1 > > On 7/28/06, Jared Williams <[EMAI

RE: [PHP-DEV] testing filter ext in RC1

2006-07-29 Thread Jared Williams
Hi, Also it does seem NUL char safe? php -r "$var='3'.chr(0).'foo'; var_dump(filter_data($var, FILTER_VALIDATE_INT));" int(3) Jared > -Original Message- > From: Pierre [mailto:[EMAIL PROTECTED] > Sent: 28 July 2006 17:44 > To: Kevin Waterson > Cc: internals@lists.ph

RE: [PHP-DEV] RfC: rethink OO inheritance strictness

2006-08-02 Thread Jared Williams
> PS: An real-life example from those wo prefer the old > behavior would be > nice ;-) > > -soenke Yes, I having a hard time imaging one, other than some quick fix. I'd much rather have some decent refactoring tools. Jared -- PHP Internals - PHP Runtime Development Mailing List To unsubs

RE: [PHP-DEV] Problems with APC

2006-08-28 Thread Jared Williams
> -Original Message- > From: Sara Golemon [mailto:[EMAIL PROTECTED] > Sent: 27 August 2006 20:17 > To: internals@lists.php.net; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP-DEV] Problems with APC > > > I get a segfault with PHP 5.2.0RC2 in > > CLI mode (Apache module seems to

RE: [PHP-DEV] Problems with APC

2006-08-28 Thread Jared Williams
> > > I get a segfault with PHP 5.2.0RC2 in > > > CLI mode (Apache module seems to work) > > > and APC 3.0.11 (without APC it works > > > fine). Is this a known problem (maybe > > > even fixed in CVS) or is it worth > > > investigating? > > > > > Yes, it's a known problem. > > > > http://

RE: [PHP-DEV] gd development as part of php.net

2006-08-31 Thread Jared Williams
> -Original Message- > From: Thomas Boutell [mailto:[EMAIL PROTECTED] > Sent: 31 August 2006 00:17 > To: internals@lists.php.net > Subject: [PHP-DEV] gd development as part of php.net > > Unfortunately there hasn't been any movement on this since I handed > it over to Pierre in April.

RE: [PHP-DEV] Re: Win32 PECL pre-built binaries.

2009-04-29 Thread Jared Williams
> -Original Message- > From: Richard Quadling [mailto:rquadl...@googlemail.com] > Sent: 29 April 2009 11:33 > To: PHP internals; php-windows > Subject: [PHP-DEV] Re: Win32 PECL pre-built binaries. > > 2009/4/29 Richard Quadling : > > Hi. > > > > What are the plans for providing pre-bui

RE: [PHP-DEV] The constant use of isset()

2009-05-12 Thread Jared Williams
> -Original Message- > From: Ólafur Waage [mailto:olaf...@gmail.com] > Sent: 12 May 2009 17:35 > To: internals@lists.php.net > Subject: [PHP-DEV] The constant use of isset() > > While researching for this suggestion I found this rfc > proposal regarding > ifsetor() ( > http://wiki.ph

RE: [PHP-DEV] reference caller object

2009-09-19 Thread Jared Williams
> -Original Message- > From: Stan Vassilev [mailto:sv_for...@fmethod.com] > Sent: 19 September 2009 11:33 > To: troels knak-nielsen; Ford, Mike > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] reference caller object > > >I, for one, am quite happy that it's fairly complicated an

RE: [PHP-DEV] RFC: Custom Factories (SPL)

2009-11-18 Thread Jared Williams
> -Original Message- > From: Robert Lemke [mailto:rob...@typo3.org] > Sent: 18 November 2009 16:07 > To: internals@lists.php.net > Subject: [PHP-DEV] RFC: Custom Factories (SPL) > > Hi folks, > > after discussing the idea with various PHP developers I now > felt safe enough that it's

  1   2   >