php-general Digest 16 Sep 2011 13:38:18 -0000 Issue 7481

2011-09-16 Thread php-general-digest-help
php-general Digest 16 Sep 2011 13:38:18 - Issue 7481 Topics (messages 314885 through 314899): Re: Repetitive answers . . . 314885 by: Joshua Stoutenburg 314892 by: tamouse mailing lists 314895 by: Joshua Stoutenburg 314899 by: Robert Cummings PHP 5.4.0beta1

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

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); } public

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

2011-09-16 Thread tamouse mailing lists
On Thu, Sep 15, 2011 at 8:31 PM, Joshua Stoutenburg jehoshu...@gmail.com 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] 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 ma...@lanzotti.com 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

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 gm...@jonz.net wrote: On Wed, 14 Sep 2011 14:08:09 +0100, Richard Quadling wrote: On 14 September 2011 13:18, Tim Streater t...@clothears.org.uk wrote: On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote: On 14 September 2011 01:23,

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

2011-09-16 Thread Johan Lidström
On 15 September 2011 15:57, Robert Williams rewilli...@thesba.com wrote: On Sep 15, 2011, at 6:03, chamila gayan cgcham...@gmail.com 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()

[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

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 = new

Re: [PHP] Help on number matching function

2011-09-16 Thread Robert Williams
On Sep 16, 2011, at 6:02, Dare Williams darrenwi...@yahoo.com 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] 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

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

2011-09-16 Thread Daniel Brown
On Thu, Sep 15, 2011 at 21:31, Joshua Stoutenburg jehoshu...@gmail.com wrote: But let me put a spin on it: ?php $information = EOF 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

Re: [PHP] XML enabled but not working

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

[PHP] Round with money_format

2011-09-16 Thread Cyril Lopez
Hi, Can someone help me understand how money_format() rounds numbers ? ?php 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',$price2); // 12.67 EUR, ok echo

Re: [PHP] Round with money_format

2011-09-16 Thread Richard Quadling
On 16 September 2011 15:58, Cyril Lopez cy...@nethik.fr wrote: Hi, Can someone help me understand how money_format() rounds numbers ? ?php  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

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 ? ?php 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

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 ? ?php setlocale(LC_ALL, 'fr_FR.UTF-8'); $price = 12.665; echo money_format('%i',$price); // 12.66 EUR, 12.67 EUR

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 from

[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] 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

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

[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] 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,

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 m...@conundrum.com 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

Re: [PHP] XML enabled but not working

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

[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 Perhaps you

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 dae...@daevid.com wrote: http://www.youtube.com/watch?v=5GpOfwbFRcs LOLercopter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: