[PHP] Re: Bug?

2011-09-15 Thread Igor Escobar
Thank you guys. Regards, Igor Escobar *Software Engineer * + http://blog.igorescobar.com + http://www.igorescobar.com + @igorescobar On Thu, Sep 15, 2011 at 6:32 PM, Shawn McKenzie wrote: > On 09/15/2011 04:07 PM, Igor Escobar wrote: > > Anyone can expla

[PHP] Re: Bug?

2011-09-15 Thread Shawn McKenzie
On 09/15/2011 04:07 PM, Igor Escobar wrote: > Anyone can explain this? > > https://gist.github.com/1220404 > > Part of the code are in portuguese so... > iguais = equal > diferentes = different > > Regards, > Igor Escobar > *Software Engineer > * > + http://blog.igorescobar.com > + http://www.ig

Re: [PHP] Re: Bug #51739 tricky string to float conversion

2011-09-01 Thread magic-php
Am Mittwoch, 31. August 2011, 20:48:37 schrieb Shawn McKenzie: > On 08/31/2011 09:03 AM, magic-...@damage.devloop.de wrote: > > Hi, > > I have opend Bug #51739 in 2010. It was closed as bogus before my last > > question was answered. It would be fine to know what you think about > > that bug. > > I

[PHP] Re: Bug #51739 tricky string to float conversion

2011-08-31 Thread Shawn McKenzie
On 08/31/2011 01:48 PM, Shawn McKenzie wrote: > > The cast to float is truncating the invalid characters and since your > string contains a float that is INF (8315e839) before the truncation at > the "d", then it returns INF. Makes perfect sense. > Just FYI... Don't post your troubles or misun

[PHP] Re: Bug #51739 tricky string to float conversion

2011-08-31 Thread Shawn McKenzie
On 08/31/2011 09:03 AM, magic-...@damage.devloop.de wrote: > Hi, > I have opend Bug #51739 in 2010. It was closed as bogus before my last > question was answered. It would be fine to know what you think about > that bug. > In short: > var_dump((float)"8315e839da08e2a7afe6dd12ec58245d"); > results i

[PHP] Re: Bug in array_key_exist?

2008-08-26 Thread Korgan
Error reporting is set on E_ALL notice: it change value if I add the item which isnt in array Lupus Michaelis wrote: Korgan a écrit : public function addXXX($id, $count) { $count = (int)$cout; Try to work with error_reporting set to E_ALL ;) session_start(); var_dump($_SES

[PHP] Re: Bug in array_key_exist?

2008-08-26 Thread Lupus Michaelis
Korgan a écrit : public function addXXX($id, $count) { $count = (int)$cout; Try to work with error_reporting set to E_ALL ;) session_start(); var_dump($_SESSION['XX']); /** A **/ If XX is a right value for a variable name, they are no problem. -- Mickaël Wolff aka Lupus

[PHP] Re: Bug in stream_socket_server()?

2007-12-11 Thread Nathan Rixham
Would this class as a test? \n"; } else { while (is_resource($conn = stream_socket_accept($socket, 30))) { while (is_resource($conn) && $pkt = stream_get_line($conn, 100, "\n")) { fwrite($conn, ''); sleep(10); echo $pkt; } } } ?> I then sent 2*384kb loads per second through a terminal to

[PHP] Re: Bug in == comparison?

2006-07-21 Thread Jeffrey Sambells
hrm.. It just seemed strange as the script I was working on is 3 years old and had worked flawlessly until today. Thanks. - Jeff ~~ Jeffrey Sambells Director of Research and Development Zend Certified Engineer (ZCE) We-Create Inc. [EMAIL PROTECTED] email 519

[PHP] Re: Bug in == comparison?

2006-07-21 Thread Adam Zey
Jeffrey Sambells wrote: hrm.. It just seemed strange as the script I was working on is 3 years old and had worked flawlessly until today. Thanks. - Jeff ~~ Jeffrey Sambells Director of Research and Development Zend Certified Engineer (ZCE) We-Create Inc. [EM

[PHP] Re: Bug in == comparison?

2006-07-21 Thread Adam Zey
I tried comparing in the reverse sequence ($test2==$test) and the same occurred. It does work as expected if I have === but the rest of the scirpt isn't type sensitive so I want NULL, 0, and empty string to still maintain equality. Wups, I missed the last part there. You want the empty() fu

[PHP] Re: Bug in == comparison?

2006-07-21 Thread Adam Zey
Jeffrey Sambells wrote: OK I have a very strange bug: In the middle of my script I have these two lines: var_dump($test,$test2); echo "'$test'=='$test2' is ".($test==$test2); which is giving: int(0) string(6) "Points" '0'=='Points' is 1 I understand that PHP is loose typed and automatically

Re: [PHP] Re: Bug in XMLWriter?

2006-05-19 Thread Rob Richards
D. Dante Lorenso wrote: Rob Richards wrote: Expected behavior. See comments within code snippet. D. Dante Lorenso wrote: I am using XMLWriter with PHP 5.1.4 and find that it doesn't behave as I expect. I am under the impressing that until I call 'endElement', I should be free to continue add

Re: [PHP] Re: Bug in XMLWriter?

2006-05-19 Thread D. Dante Lorenso
Rob Richards wrote: Expected behavior. See comments within code snippet. D. Dante Lorenso wrote: I am using XMLWriter with PHP 5.1.4 and find that it doesn't behave as I expect. I am under the impressing that until I call 'endElement', I should be free to continue adding attributes to an ope

[PHP] Re: Bug in XMLWriter?

2006-05-19 Thread Rob Richards
Expected behavior. See comments within code snippet. D. Dante Lorenso wrote: I am using XMLWriter with PHP 5.1.4 and find that it doesn't behave as I expect. I am under the impressing that until I call 'endElement', I should be free to continue adding attributes to an opened element regardles

Re: [PHP] Re: Bug, erreurs ou non =?iso-8859-1?q?document=E9?=

2005-05-08 Thread Andy Pieters
On Wednesday 04 May 2005 22:47, Amir Mohammad Saied wrote: Bonjour Amir C'est liste est en Anglais. Cependant, la réponse: Il est necessaire de 'eschapper' le character '\' Au lieux d'ecrire '\', il faut ecrire '\\' Donc si le chemin est \\srvdfs00\partages\0-50\M7\05_APValidation\Forfa

[PHP] Re: Bug, erreurs ou non =?ISO-8859-1?Q?document=E9?=

2005-05-04 Thread Amir Mohammad Saied
[EMAIL PROTECTED] wrote: Bonjour, J'utilise php en profondeur depuis peu. Je viens d'utiliser les fonctions sur les fichier tel que is_file(), is_dir() ou encore file_exists(). J'obtiens des résultat qui ne correspondent pas à la documentation. Apparement la longueur de chaîne influe sur le résulta

[PHP] Re: Bug or undocumented functionality of unset()?

2005-02-23 Thread Jason Barnett
[EMAIL PROTECTED] wrote: > Hi All, > > Does unset() create a copy of the array and then overwrite the > original > somehow > destroying the reference? ... > --- > $stuff = array(array('one','two'), > array('one','two'), > array('three','four'), > arra

RE: [PHP] Re: Bug-Tracking-System in PHP ?

2004-10-30 Thread Reinhart Viane
vrijdag 29 oktober 2004 16:51 To: [EMAIL PROTECTED] Subject: [PHP] Re: Bug-Tracking-System in PHP ? Am 2004-10-29 09:48:32, schrieb Reinhart Viane: > Dunno if this is ok: > http://www.mantisbt.org/ Nice features and 1.0 support postgresql (can not use MySQL because some tools conflicts

Re: [PHP] Re: Bug-Tracking-System in PHP ?

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 16:51:06 +0200, Michelle Konzack <[EMAIL PROTECTED]> wrote: > > http://www.mantisbt.org/ > > Nice features and 1.0 support postgresql > (can not use MySQL because some tools conflicts with postgresql) A database abstraction layer might be the solution to that. ADOdb is very g

Re: [PHP] Re: Bug-Tracking-System in PHP ?

2004-10-29 Thread Robby Russell
On Fri, 2004-10-29 at 16:51 +0200, Michelle Konzack wrote: > Am 2004-10-29 09:48:32, schrieb Reinhart Viane: > > Dunno if this is ok: > > http://www.mantisbt.org/ > > Nice features and 1.0 support postgresql > (can not use MySQL because some tools conflicts with postgresql) How do mysql and post

[PHP] Re: Bug-Tracking-System in PHP ?

2004-10-29 Thread Michelle Konzack
Am 2004-10-29 09:48:32, schrieb Reinhart Viane: > Dunno if this is ok: > http://www.mantisbt.org/ Nice features and 1.0 support postgresql (can not use MySQL because some tools conflicts with postgresql) Unfortunatly no E-Mail support... :-( Greetings Michelle -- Linux-User #280138 with the Li

[PHP] Re: Bug with mktime??

2004-08-30 Thread Peter Brodersen
On Tue, 31 Aug 2004 09:53:01 +1200, in php.general [EMAIL PROTECTED] (John Clegg) wrote: >I have been using mktime() to determine the next 12 months for a >program, and i have discovered what seems a bug in the function. > >The following code... > >for($i=0;$i < 12;$i++){ > >$currentDate = date("

[PHP] Re: bug in PHP

2004-02-27 Thread Michael Kunze
Kyle Goetz wrote: > hey so i've been struggling with an apparent bug in and older version of > PHP but i wouldn't know where to look about this bug, as it concerns the > include function and there is no mention of a bug that i can find... > > version of php: 4.1.0 > i have a line of code > includ

[PHP] Re: Bug...

2003-08-28 Thread WebDevMagazine
Yes I can help you.please send me your OS , php version and what COM you are triyng to use. Regards Bogomil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: bug in addslashes command?

2003-07-22 Thread Kevin Stone
"Merlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello there, > > I am running php 4.2.1 on a linux machine. Not sure, but I think there might > be a bug in there. > > While putting data into the db I do get an error in a verry rar case. All > values are escaped by addslashes

[PHP] Re: Bug in PHP 4.22? (getimagesize problem)

2002-10-08 Thread nicos
It works fine with me on 4.2.3. Try it. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Pekka Saarinen" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] Hi, I have a very odd problem with PHP 4.22 (no acceleration) and Apac

[PHP] Re: Bug in PHP?

2002-07-18 Thread Richard Lynch
>Hello, > >I'm trying to explode an associative array element in $HTTP_POST_VARS >retrieved from submitting am html form. The URL to the form is: >http://www.funfry.com/form.html > >Now when I try to explode $HTTP_POST_VARS["domains"] it doesn't seem to have >the desired effect. I use the syntax

[PHP] Re: Bug #17121 Updated: failed to make with OCI8 for oracle support

2002-05-10 Thread Markus Fischer
Hi, this is not a bug issue, but an installation question. Either as on php-general@ (CC'd) or php-install@ (don't recall the exact name). Can't find clntsh usually means you don't have passed the right path to the oci PHP configure switch and/or the library isn't in

[PHP] Re: BUG in recursion

2002-03-30 Thread David Johansen
No it's right. Because $count will equal 10 and it'll print it out, the test will fail and then it'll trace the recursion back and print the j's. It would be a bug if it printed an 11, but it's right the way it is. Dave "Uros Gruber" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[E

[PHP] Re: Bug #14360: Script ends on >

2001-12-07 Thread Fred
Just out of curiosity, what makes you think the scripting engine stopped at that particular spot? Fred Thomas Seuring <[EMAIL PROTECTED]> wrote in message 005744005865206102L412*@MHS">news:005744005865206102L412*@MHS... Dear friends, I've opened a Bug I think I've found on PHP, but ther

[PHP] Re: Bug ? Script download problem if user abort download

2001-10-31 Thread Gianluca Morello
I retry using the following snuppet: ... while (!connection_aborted() && !feof($fp) ) { echo fread($fp, 1000); } but nothing change. I try also with connection_status() and ignore_user_abort(false) but nothign change. If the user abort the download progress, the php process hang.

[PHP] Re: bug in str_replace() ?

2001-10-21 Thread Christian Kuhtz
Martin Lindhe wrote: > > Bug in str_replace(), PHP 4.0.6 > > $text = "hello world"; > $out = str_replace(" "," ",$text); > echo $out; > > Expected output: > "hello world" > > Actual output: > "hello world" > > Of course, this is what happens if str_

[PHP] Re: bug in str_replace() ?

2001-10-21 Thread Henrik Hansen
[EMAIL PROTECTED] (Martin Lindhe) wrote: > Bug in str_replace(), PHP 4.0.6 > > $text = "hello world"; > $out = str_replace(" "," ",$text); > echo $out; > > Expected output: > "hello world" > > Actual output: > "hello world" > > Of course, this is w

[PHP] Re: Bug #13451 Updated: no images ;( (fwd)

2001-10-02 Thread Richard Lynch
Check the output from your configuration... Various files such as config.log and config.cache and whatnot may have specific info about GD and/or its failure to get included in your compilation. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me o

[PHP] RE: Bug IDs #8772, #9002, maybe #9724 - session write handler and register_globals

2001-03-16 Thread Jaime Bozza
Hello, (Using both 4.0.4pl1 and latest CVS as of today.) I have been having similar problems with defining my own session handling routings and register_globals. If register_globals is off, a new session doesn't seem to call the "write" handler, thus the session never gets stored. With regis