Re: String extension proposal

From: Date: Mon, 16 Jun 2008 10:05:23 +0000
Subject: Re: String extension proposal
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5540@lists.php.net to get a copy of this message
Hi Lars, No I hadn't heard of it. Unfortunately there seems precious little documentation on it (in fact I can't find any list of methods). It also seems quite new (some files committed 2 months ago). The aim of SPL_Types seems to be to create strongly typed variables rather than focusing on having a friendlier (IMHO) OO interface to the existing string and array functions. That may be completely wrong but without any docs and limited examples and reviews thats what I understood. Is there any documentation on SPL_Types anywhere? Thanks Mark On Mon, Jun 16, 2008 at 9:30 AM, Lars Strojny <lars@strojny.net> wrote: > Hi Mark, > > Am Montag, den 16.06.2008, 08:38 +0100 schrieb Mark Frawley: >> ArrayObject from SPL is close to what we're talking about here >> actually. (Although not as attractive as Francois's proposal in some >> ways) >> >> http://www.php.net/~helly/php/ext/spl/classArrayObject.html >> >> I'm still more in favour of your idea Francois, however this already >> exists. It seems the easiest thing (in the short term) would be to >> extend the SPL with StringObject etc > > You know SPL_Types (http://pecl.php.net/package/SPL_Types)? > > cu, Lars >

« previous php.pecl.dev (#5540) next »