php-general Digest 2 Aug 2011 05:45:51 -0000 Issue 7424
Topics (messages 314264 through 314267):
3.1.9 build of APC win 64
314264 by: Dan Baughman
314265 by: Lester Caine
314266 by: Dan Baughman
Keyword Constructor
314267 by: Ren
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Does anyone know where you can download a 64 bit build of apc 3.1.9?
I want to take advantage of some of the stuff they've pushed out since 3.1.8
for windows, but can't find a 64 bit binary to save my life.
--- End Message ---
--- Begin Message ---
Dan Baughman wrote:
Does anyone know where you can download a 64 bit build of apc 3.1.9?
I want to take advantage of some of the stuff they've pushed out since 3.1.8
for windows, but can't find a 64 bit binary to save my life.
http://www.anindya.com/php-5-3-6-x64-64-bit-for-windows/ is still 3.1.6, and
while I expect Anindya will be running a 5.3.7 soon with the later libraries,
but I've dropped a comment asking if 3.1.9 will build for use with 5.3.6 and
Anindya is normally quite quick responding if requests are simple.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--- End Message ---
--- Begin Message ---
Thank you.
On Mon, Aug 1, 2011 at 9:20 AM, Lester Caine <les...@lsces.co.uk> wrote:
> Dan Baughman wrote:
>
>> Does anyone know where you can download a 64 bit build of apc 3.1.9?
>>
>> I want to take advantage of some of the stuff they've pushed out since
>> 3.1.8
>> for windows, but can't find a 64 bit binary to save my life.
>>
>
> http://www.anindya.com/php-5-**3-6-x64-64-bit-for-windows/<http://www.anindya.com/php-5-3-6-x64-64-bit-for-windows/>is
> still 3.1.6, and while I expect Anindya will be running a 5.3.7 soon with
> the later libraries, but I've dropped a comment asking if 3.1.9 will build
> for use with 5.3.6 and Anindya is normally quite quick responding if
> requests are simple.
>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact -
> http://lsces.co.uk/wiki/?page=**contact<http://lsces.co.uk/wiki/?page=contact>
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk//
> Firebird -
> http://www.firebirdsql.org/**index.php<http://www.firebirdsql.org/index.php>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
For a long time I wanted keyword parameters in PHP. But thanks to
newer features like traits and reflection classes I have come up with
something that looks pretty close.
trait KeywordConstructor {
public function __construct($members) {
$class = new ReflectionClass($this);
$properties = $class->getProperties();
foreach ($properties as $p) {
$name = $p->getName();
if (isset($members[$name])) {
$this->$name = $members[$name];
}
}
}
}
class User {
use KeywordConstructor;
private $name;
private $age;
}
$lobby = new User(['name' => 'Lobby', 'age' => 36]);
Right now this requires the trunk version of PHP to work. I just
wanted to share this in case anyone finds it interesting and/or
useful.
--
ejmr
南無妙法蓮華經
--- End Message ---