Re: [PHP] Episode 2 - All The Cool Kids Use Ruby

2011-09-16 Thread Bastien
That was very funny. A perfect Friday item! Bastien Koert 905-904-0334 On 2011-09-16, at 2:30 PM, "Daevid Vincent" wrote: > http://www.youtube.com/watch?v=5GpOfwbFRcs > > LOLercopter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML enabled but not working

2011-09-16 Thread James Moe
On 09/15/2011 01:20 PM, Matthew Pounsett wrote: > > I seems to behaving issues with php5 on one particular server, and I haven't > been able to find the issue. Basically, php says XML is enabled, but xml > functions are missing. > >> php -i | grep "XML support" > libXML support => active >

Re: [PHP] XML enabled but not working

2011-09-16 Thread Richard Quadling
On 16 September 2011 23:18, Matthew Pounsett wrote: > > On 2011/09/16, at 10:27, Richard Quadling wrote: > >> On 15 September 2011 21:20, Matthew Pounsett wrote: >>> Anyone have any thoughts on what to look at? >> >> php -m >> php --rf xml_parser_create > > Thanks.  This seems to reinforce that t

Re: [PHP] XML enabled but not working

2011-09-16 Thread Matthew Pounsett
On 2011/09/16, at 10:27, Richard Quadling wrote: > On 15 September 2011 21:20, Matthew Pounsett wrote: >> Anyone have any thoughts on what to look at? > > php -m > php --rf xml_parser_create Thanks. This seems to reinforce that there's something wrong, but I don't feel like I know any more a

Re: [PHP] Help on number matching function

2011-09-16 Thread Mattias Thorslund
If one or both of your data sets are in MySQL already, there may be no need to do the comparison in PHP. Just use IN() or INNER JOIN. Or is there some particular reason why neither of these will work in your case? Cheers, Mattias On 09/16/2011 05:36 AM, Dare Williams wrote: Dear PHP Group,

[PHP] Re: PHP 5.4.0beta1 released

2011-09-16 Thread Shawn McKenzie
On 09/15/2011 08:50 PM, d...@php.net wrote: Thanks X4! -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Episode 2 - All The Cool Kids Use Ruby

2011-09-16 Thread Robert Cummings
On 11-09-16 02:30 PM, Daevid Vincent wrote: http://www.youtube.com/watch?v=5GpOfwbFRcs LOLercopter That's just fantastic! Have a great weekend. Cheers, Rob. -- E-Mail Disclaimer: Information contained in this message and any attached documents is considered confidential and legally protected

RE: [PHP] Episode 2 - All The Cool Kids Use Ruby

2011-09-16 Thread Jen Rasmussen
WOOT! ...you made my day with this :D thanks Cheers! -Original Message- From: Daevid Vincent [mailto:dae...@daevid.com] Sent: Friday, September 16, 2011 1:30 PM To: php-general@lists.php.net Subject: [PHP] Episode 2 - All The Cool Kids Use Ruby http://www.youtube.com/watch?v=5GpOfwbFRc

[PHP] Episode 2 - All The Cool Kids Use Ruby

2011-09-16 Thread Daevid Vincent
http://www.youtube.com/watch?v=5GpOfwbFRcs LOLercopter

Re: [PHP] Help on number matching function

2011-09-16 Thread Andre Polykanine
Hello Dare, DW> I need a Function of any category in  either PHP or MySQL RDBMS DW> customize Function, Class, Methods or anything that could help me DW> compare a particular set of number and return their matching DW> result. consider using array_intersect(). -- With best regards fro

Re: [PHP] Round with money_format

2011-09-16 Thread Stuart Dallas
Oops... On 16 Sep 2011, at 16:36, Stuart Dallas wrote: > On 16 Sep 2011, at 15:58, Cyril Lopez wrote: > >> Can someone help me understand how money_format() rounds numbers ? >> >> > setlocale(LC_ALL, 'fr_FR.UTF-8'); >> $price = 12.665; >> echo money_format('%i',$price); >> // 12.66 EUR, 12.67 E

Re: [PHP] Round with money_format

2011-09-16 Thread Stuart Dallas
On 16 Sep 2011, at 15:58, Cyril Lopez wrote: > Can someone help me understand how money_format() rounds numbers ? > > setlocale(LC_ALL, 'fr_FR.UTF-8'); > $price = 12.665; > echo money_format('%i',$price); > // 12.66 EUR, 12.67 EUR expected > > $price2 = 12.666; > echo money_format('%i',$p

Re: [PHP] Round with money_format

2011-09-16 Thread Richard Quadling
On 16 September 2011 15:58, Cyril Lopez wrote: > Hi, > > Can someone help me understand how money_format() rounds numbers ? > >  setlocale(LC_ALL, 'fr_FR.UTF-8'); >  $price = 12.665; >  echo money_format('%i',$price); >  // 12.66 EUR, 12.67 EUR expected > >  $price2 = 12.666; >  echo money_format

[PHP] Round with money_format

2011-09-16 Thread Cyril Lopez
Hi, Can someone help me understand how money_format() rounds numbers ? Misconfiguration ? Bug ? Thanks ! Cyril Config : Debian Lenny, PHP 5.3.8 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML enabled but not working

2011-09-16 Thread Richard Quadling
On 15 September 2011 21:20, Matthew Pounsett wrote: > Anyone have any thoughts on what to look at? php -m look for XML php --rf xml_parser_create look for Function [ function xml_parser_create ] { - Parameters [1] { Parameter #0 [ $encoding ] } } -- Richard Quadling Twitter : EE

Re: [PHP] Re: Repetitive answers . . .

2011-09-16 Thread Daniel Brown
On Thu, Sep 15, 2011 at 21:31, Joshua Stoutenburg wrote: > > But let me put a spin on it: > > > $information = << > I got a great idea, why don't we write hundreds of books and websites > with all of our repetitive answers and call it the "information age". > Who cares if all the priceless pearls

Re: [PHP] Help on number matching function

2011-09-16 Thread Ken Robinson
At 08:36 AM 9/16/2011, Dare Williams wrote: Dear PHP Group, I need a Function of any category in either PHP or MySQL RDBMS customize Function, Class, Methods or anything that could help me compare a particular set of number and return their matching result. e.g If I have a 5 Digits set of numb

Re: [PHP] Help on number matching function

2011-09-16 Thread Robert Williams
On Sep 16, 2011, at 6:02, "Dare Williams" wrote: > > I have a 5 Digits set of number and need to match it with another set of > five digits and return how many number are match and the figures that are > match. Check out array_intersect().

Re: [PHP] Re: Repetitive answers . . .

2011-09-16 Thread Robert Cummings
On 11-09-15 09:31 PM, Joshua Stoutenburg wrote: class baboon { $ammo = ''; public __construct($ammo) { $this->ammo = $ammo; } public function flingAt($target) { $target->flingAlert($this->ammo); } } $me = new baboon($information); $you = ne

[PHP] Help on number matching function

2011-09-16 Thread Dare Williams
Dear PHP Group, I need a Function of any category in  either PHP or MySQL RDBMS customize Function, Class, Methods or anything that could help me compare a particular set of number and return their matching result. e.g If I have a 5 Digits set of number  and need to match it with another set of

Re: [PHP] lost return value during a static call

2011-09-16 Thread Johan Lidström
On 15 September 2011 15:57, Robert Williams wrote: > > On Sep 15, 2011, at 6:03, "chamila gayan" wrote: > > > when it goes through 2 static methods, at some point it stops returning > > value to the calling method. (please see comments in-line). > > The getArray() method and the 'else' portion o

Re: [PHP] Re: What would you like to see in most in a text editor?

2011-09-16 Thread tamouse mailing lists
On Wed, Sep 14, 2011 at 5:07 PM, Jonesy wrote: > On Wed, 14 Sep 2011 14:08:09 +0100, Richard Quadling wrote: >> On 14 September 2011 13:18, Tim Streater wrote: >>> On 14 Sep 2011 at 12:40, Richard Quadling wrote: On 14 September 2011 01:23, tamouse wrote: > On Tue, Sep 13, 2011 at 3:35

Re: [PHP] What would you like to see in most in a text editor?

2011-09-16 Thread Joshua Stoutenburg
On Fri, Sep 16, 2011 at 12:51 AM, Marco Lanzotti wrote: > Il 13/09/2011 21:56, Brad Huskins ha scritto: >> So I would like to get some feedback on what features people would >> most want, since I am still at a very flexible stage in development. > I wouldn't want a text editor. I'd want an IDE.

Re: [PHP] Re: Repetitive answers . . .

2011-09-16 Thread tamouse mailing lists
On Thu, Sep 15, 2011 at 8:31 PM, Joshua Stoutenburg wrote: > // I hope everyone finds this more humorous than offensive. My baboon is offended. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Repetitive answers . . .

2011-09-16 Thread Joshua Stoutenburg
On Fri, Sep 16, 2011 at 12:35 AM, tamouse mailing lists > > My baboon is offended. > class baboon extends human { $ammo = ''; public __construct($ammo) { $this->ammo = $ammo; } public function flingAt($target) { $target->flingAlert($this, $this->ammo); } pu

Re: [PHP] What would you like to see in most in a text editor?

2011-09-16 Thread Marco Lanzotti
Il 13/09/2011 21:56, Brad Huskins ha scritto: > So I would like to get some feedback on what features people would > most want, since I am still at a very flexible stage in development. Configurable syntax highlight, autoindent and autocomplete. Bye, Marco -- PHP General Mailing List (http://ww