Search Discussions
-
I came across an interesting desire today. I'd like to create a new class instance if an only if a "key" value does not already exist. This key value could be looked up in a database, in an array, ...
Derrell Lipman
Nov 5, 2004 at 4:01 pm
May 14, 2005 at 11:16 am -
Hello, The website "http://pdoru.from.ro/" states that "hopefully the patch will be integrated into PHP". This patch adds some hooks to main/rfc1867.c so PHP modules can implement stuff like reading ...
Klaus Reimer
Nov 5, 2004 at 9:34 am
Nov 10, 2004 at 4:26 pm -
Marcus, I didn't see discussion about this. How much is such a countable interface really needed? Is this only for SPL or is this supposed to be general purpose. I would prefer to only see it in SPL ...
Andi Gutmans
Nov 16, 2004 at 10:57 pm
Dec 3, 2004 at 9:57 am -
18
php_fork();
Hello What about fork() in php ? I have tried to understand c language yesterday, and I have write that in /ext/standard/basic_functions.c: PHP_FUNCTION(php_fork){ fork(); } (and a few lines to ...Overight
Nov 14, 2004 at 3:44 pm
Nov 15, 2004 at 12:32 am -
Is this the commit that prompted Rob to adjust the COM extension today? If so, we've broken binary compat within the 5.0.x series by changing the method signature; somebody needs to "fix" a whole ...
Wez Furlong
Nov 20, 2004 at 2:18 pm
Nov 25, 2004 at 9:39 am -
Try this code: <pre <?php $Arr = array(); $Arr['self'] = &$Arr; var_dump ( $Arr ); $serdata = serialize ($Arr); $Arr2 = unserialize ( $serdata ); echo "\n\n"; var_dump ( $Arr2 ); ? </pre The second ...
Francisco M. Marzoa Alonso
Nov 3, 2004 at 12:32 pm
Nov 3, 2004 at 6:35 pm -
PHP has system() and shell_execute(), but how about spawn() ? Currently we can only create an asynchronous process only with proc_open() or popen(), and then I have to track the pipe(s). It would be ...
Ilya77
Nov 21, 2004 at 4:02 pm
Nov 23, 2004 at 9:22 pm -
Howdy. Was doing some development with PHP and PostgreSQL and came across a rather nasty surprise. A boolean value is returned as the strings 't' and 'f', not the constants true and false. This ...
Sean Chittenden
Nov 7, 2004 at 1:20 am
Nov 9, 2004 at 1:19 am -
If anybody (derick?) cares, gmmktime returning completly bogus results. It can be easly checked out by manually setting TZ shell variable. Lets try it like this: TZ=GMT+1 php -r "echo gmmktime();" ...
Vladimir Zidar
Nov 12, 2004 at 10:14 pm
Nov 15, 2004 at 5:46 pm -
Hi, is there any reason why __call shouldn't be invoked for static method calls? Reproduce --------- php5 -r 'class A { function __call($name, $args) { var_dump($name, $args); } } A::foo();' Actual ...
Timm Friebe
Nov 7, 2004 at 4:31 pm
Nov 10, 2004 at 1:00 am -
Hi Guys, PHP_FUNCTION(proc_close) doesn't have a call to CloseHandle(proc- child), to close the process handle. This is causing a handle leak on Windows, and eventually brings the whole OS to it's ...
Ilya77
Nov 10, 2004 at 3:50 pm
Nov 10, 2004 at 7:48 pm -
Hi ! I'm writing my own sapi module and I'd like register 2 additional modules calling php_module_startup. I've noticed that it is imposible because int php_module_startup(sapi_module_struct *sf, ...
Wojtek Meler
Nov 23, 2004 at 12:05 pm
Dec 17, 2004 at 10:23 pm -
Hi, attached is a patch which implements a function pg_result_sqlstate. This function is needed because the error messages returned by pg_result_error is localized and can therefor not be parsed ...
Markus Bertheau
Nov 8, 2004 at 12:45 pm
Nov 8, 2004 at 3:46 pm -
Hi there I work for a company called Eagle Technology and we manufacture a wide range of data acquisition devices; USB, PCI, PC/104 plus etc. Our main API is called EDR Enhanced and is available for ...
Jan Zwiegers
Nov 29, 2004 at 8:17 am
Nov 30, 2004 at 5:41 am -
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (443 total including feature requests) ===============================================[*Compile Issues]============== 28103 Open ...
Internals
Nov 1, 2004 at 8:30 am
Nov 29, 2004 at 8:31 am -
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (853 total including feature requests) ===============================================[*Compile Issues]============== 30602 ...
Internals
Nov 1, 2004 at 8:00 am
Nov 29, 2004 at 8:00 am -
Hi, I've tried to compile PHP with --enable-memory-limit, and it works well with PHP 4.3.9, PHP_4_3 Branch, PHP 5.0.2, but not with PHP_5_1 branch, I've tried with freebsd and gentoo, it fails when ...
Cyprien Nicolas
Nov 20, 2004 at 12:35 pm
Nov 21, 2004 at 3:45 pm -
Hi, i'm using firebird 1.5.1 on a linux machine with a php script I'm using a query in loop and go through all records to do some operations in the middle of the script i fork(); to do other things ...
User
Nov 16, 2004 at 10:53 am
Nov 17, 2004 at 6:01 pm -
Hello, in the phpinfo() I can find (apache2handler) the entry: "Hostname:Port", which displays the vhost you are running the script from. In [phpsources]/sapi/apache2handler/php_functions.c I found ...
Alexander Windbichler
Nov 1, 2004 at 5:04 pm
Nov 15, 2004 at 6:54 pm -
Marcus, since you seem to be on a productivity binge, can we please have Serializable ? :-) Actually serialization needs a once-over for 5.1 . Internal class serialization is problematic at the ...
L0t3k
Nov 1, 2004 at 2:59 pm
Nov 6, 2004 at 3:42 am -
revision 1.136 date: 2004/10/31 15:30:53; author: helly; state: Exp; lines: +163 -1 - Add ReflectionFunction::invokeArgs(array) - Add ReflectionMethod::invokeArgs(obj, array) Why was this added? ...
Timm Friebe
Nov 2, 2004 at 11:16 am
Nov 2, 2004 at 11:58 pm -
Hi, I'm wondering if it is feasible to include the cli version of PHP in the windows installer, and go-pear.bat bundle as well? This is fast becoming one of the most frequently asked questions on ...
Greg Beaver
Nov 17, 2004 at 4:43 pm
Nov 18, 2004 at 4:26 pm -
Hi everyone, I noticed recently that both of my extensions (Panda and FANN, both in PECL) emit error messages when their __get() and __set() methods are registered. The problem seems to be that ...
Evan Nemerson
Nov 16, 2004 at 8:01 pm
Nov 17, 2004 at 7:57 am -
Hello Everyone, isset($arr[0]['id']) used to return false if $arr[0] is undefined, but with the new VM it throws a warning. Is this new behavior or a bug ? - Frank
Frank M. Kromann
Nov 2, 2004 at 8:18 pm
Nov 3, 2004 at 7:34 am -
HEAD/ext/spl is generating a warning at startup though it was hard to work out which extension was to blame without the below patch! PHP Warning: Function registration failed - duplicate name - ...
Joe Orton
Nov 2, 2004 at 12:46 pm
Nov 2, 2004 at 1:12 pm -
Hi All, I could see a leak of 60 bytes for the following script. <?php //echo "hi"; ? While investigation I found that SG(request_info).path_translated = safe_strdup(f- r- filename); //in ...
Kamesh Jayachandran
Nov 30, 2004 at 7:56 am
Dec 6, 2004 at 1:14 pm -
The following code from PHPUnit2 causes a segfault with PHP_5_0 and HEAD. public function run(PHPUnit2_Framework_Test $test) { $this- currentTest = $test; $this- startTest($test); ...
Sebastian Bergmann
Nov 22, 2004 at 5:13 pm
Nov 24, 2004 at 11:14 am -
Here's a patch, which logic is pretty simple: 1st try to invoke without CMD.EXE (this will work for executable files), and if that fails - invoke with CMD.EXE. Shouldn't be too much of a burden for ...
Ilya77
Nov 14, 2004 at 11:11 am
Nov 21, 2004 at 4:01 pm -
In many situations one needs to know what caused the error And probably receive additional information about it (e.g which foreign key constraint failed). I attach tiny patches giving access to ...
Илья Кантор
Nov 13, 2004 at 9:22 pm
Nov 14, 2004 at 3:20 pm -
I'm rewriting the highlight_file/string methods in userland code (using the tokenizer) because I've found the native functions painful. It is difficult to insert line numbering properly, and have ...
Aidan Lister
Nov 11, 2004 at 3:36 am
Nov 12, 2004 at 4:31 am -
I've ran into an issue using __get() and want to ascertain if this is how it was intended to work or if it's a bug. The general notion of what I'm attempting to accomplish using __get() is that a ...
Jason Perkins
Nov 11, 2004 at 3:21 pm
Nov 11, 2004 at 7:33 pm -
Hi again! I've been trying to get mime_magic to work with PHP 5.0.2, but it seems to complain about the magic file being valid. I've tried both with the Apache 2.0.52 version of "magic" and with the ...
Björn Wiberg
Nov 10, 2004 at 1:26 pm
Nov 11, 2004 at 7:16 am -
Hello, I'm not exactly sure if this is the place to be mentioning this, but the last five 5.1.x-dev tarballs on snaps.php.net are damaged. It also appears as if the 5.0.x-dev tarballs are also ...
Benj Carson
Nov 8, 2004 at 5:30 am
Nov 8, 2004 at 7:49 am -
I've had a need to draw underlines in text created with the GD image functions, specifically ImagePSText(). As far as I could tell there's no way to do this (apart from using ImageLine(), which would ...
Tim Toohey
Nov 6, 2004 at 6:22 am
Nov 7, 2004 at 5:41 am -
VS.NET reports project corruption (ZendTS.dsp, Zend.dsp, fastCGI.dsp, phpActivescript.dsp) when trying to load the PHP project files. Things seem ok in VC6. Unfortunately, the IDE was not specific, ...
L0t3k
Nov 6, 2004 at 7:17 pm
Nov 7, 2004 at 2:28 am -
Still behind a bit on my email. Has anyone tested this yet? It would be cool to commit.
Andi Gutmans
Nov 5, 2004 at 8:55 pm
Nov 6, 2004 at 2:13 am -
Hello, I hope I post on the good list, I though that posting that note on php-install list won't be coherent as this is a developpement version. So, when I tried to make php 5.1.0-dev, the build ...
Cyprien \"Fulax\" Nicolas
Nov 2, 2004 at 11:22 pm
Nov 3, 2004 at 7:55 am -
PHP Warning: Function registration failed - duplicate name - next in Unknown on line 0 -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B ...
Sebastian Bergmann
Nov 1, 2004 at 9:44 am
Nov 2, 2004 at 12:57 pm -
Hello! While working on the translit extension I am in need of using the iconv functions which are not exported at all from our extensions. Does somebody object if I make it exportable in all ...
Derick Rethans
Nov 22, 2004 at 1:18 pm
Nov 22, 2004 at 1:41 pm -
Greetings internals, long time no see... With some of the features and the roadmap and all being sorted out for PHP 5.1, I'd like to see if the new browscap parser I wrote could be stuffed in there ...
Jay Smith
Nov 17, 2004 at 4:50 pm
Nov 17, 2004 at 4:54 pm -
Hi, I was helping a friend to setup a cvsd, and in the tests I imported a module in cvs.php.net... My bad :( Can some one remove it? Is /src. Sorry for mistake. []s André AE
André Luis Ferreira da Silva Bacci
Nov 15, 2004 at 2:25 am
Nov 15, 2004 at 8:04 am -
apc guys with lastest CVS version, i recently get this error shown in error_log, any idea? 0x901 is a fixed constant, never changed it seem only happened when file is updated and reload the page 2nd ...
Xuefer
Nov 10, 2004 at 3:22 am
Nov 10, 2004 at 9:27 am -
Hello! This is trivial patch for `man php` fixing bug #30727. Can somebody with sufficient karma please commit it? Jakub Vrana
Jakub Vrana
Nov 9, 2004 at 8:06 am
Nov 9, 2004 at 3:06 pm -
Hello! Please consider exposing the wonderful bin_to_readable function. Thanks, Rodric
Rodric Glaser
Nov 3, 2004 at 1:29 am
Nov 3, 2004 at 2:40 am -
0
Indexer
So, did you guys provide any support for C style indexing? Ie: class SomeClass { Private object this[int Index] { Return this.array[Index]; } } $a = new SomeClass(); Echo $a[12]; I read somewhere ...Seth Webster
Nov 30, 2004 at 6:46 am
Nov 30, 2004 at 6:46 am -
I was wondering if there's any chance of seeing this fixed in upcoming 4.3.10 release, as it's a rather significant bug for IIS/windows installs that use the registry to set per-directory values: ...
Hans L
Nov 24, 2004 at 2:11 pm
Nov 24, 2004 at 2:11 pm -
[asked php-install before, no one answered] Hi, Because I upgraded my MySQL server to 4.1.7, I tried to compile my mod_php with mysql + mysqli support. After some problems with double "-lmysqlclient" ...
Sönke Ruempler
Nov 15, 2004 at 8:30 am
Nov 15, 2004 at 8:30 am -
I am not sure if this should be considered a bug. If it should be, I would be happy to report it. I did a search for debug_backtrace and static and found no hits in the bug database. If you call a ...
Jason Sweat
Nov 15, 2004 at 2:28 am
Nov 15, 2004 at 2:28 am -
I think it's a large "WTF" factor here ;-) I also wonder why it is included BTW, can't you just tune the config.m4 file to only compile the file that you really need? regards, Derick -- Derick ...
Derick Rethans
Nov 14, 2004 at 8:33 pm
Nov 14, 2004 at 8:33 pm -
In many situations one needs to know what caused the error And probably receive additional information about it (e.g which foreign key constraint failed). I attach tiny patches giving access to ...
Илья Кантор
Nov 13, 2004 at 5:37 pm
Nov 13, 2004 at 5:37 pm
Group Overview
group | php-internals |
categories | php |
discussions | 62 |
posts | 308 |
users | 93 |
website | php.net |
93 users for November 2004
Archives
- June 2016 (1)
- May 2016 (648)
- April 2016 (33)
- March 2016 (575)
- February 2016 (423)
- January 2016 (40)
- December 2015 (266)
- November 2015 (481)
- October 2015 (23)
- April 2015 (156)
- March 2015 (988)
- February 2015 (836)
- January 2015 (1,468)
- December 2014 (710)
- November 2014 (703)
- October 2014 (787)
- September 2014 (730)
- August 2014 (700)
- July 2014 (1,142)
- June 2014 (488)
- May 2014 (816)
- April 2014 (355)
- March 2014 (611)
- February 2014 (971)
- January 2014 (963)
- December 2013 (489)
- November 2013 (468)
- October 2013 (562)
- September 2013 (622)
- August 2013 (451)
- July 2013 (330)
- June 2013 (422)
- May 2013 (364)
- April 2013 (359)
- March 2013 (497)
- February 2013 (537)
- January 2013 (547)
- December 2012 (335)
- November 2012 (148)
- October 2012 (480)
- September 2012 (632)
- August 2012 (661)
- July 2012 (841)
- June 2012 (362)
- May 2012 (317)
- April 2012 (1,101)
- March 2012 (908)
- February 2012 (780)
- January 2012 (428)
- December 2011 (466)
- November 2011 (690)
- October 2011 (331)
- September 2011 (628)
- August 2011 (777)
- July 2011 (558)
- June 2011 (1,099)
- May 2011 (488)
- April 2011 (345)
- March 2011 (236)
- February 2011 (137)
- January 2011 (230)
- December 2010 (434)
- November 2010 (701)
- October 2010 (211)
- September 2010 (277)
- August 2010 (362)
- July 2010 (205)
- June 2010 (399)
- May 2010 (416)
- April 2010 (473)
- March 2010 (635)
- February 2010 (148)
- January 2010 (325)
- December 2009 (335)
- November 2009 (334)
- October 2009 (270)
- September 2009 (205)
- August 2009 (276)
- July 2009 (605)
- June 2009 (460)
- May 2009 (285)
- April 2009 (254)
- March 2009 (351)
- February 2009 (335)
- January 2009 (451)
- December 2008 (347)
- November 2008 (475)
- October 2008 (795)
- September 2008 (620)
- August 2008 (673)
- July 2008 (829)
- June 2008 (654)
- May 2008 (642)
- April 2008 (653)
- March 2008 (872)
- February 2008 (804)
- January 2008 (751)
- December 2007 (752)
- November 2007 (563)
- October 2007 (490)
- September 2007 (499)
- August 2007 (660)
- July 2007 (965)
- June 2007 (359)
- May 2007 (904)
- April 2007 (476)
- March 2007 (451)
- February 2007 (465)
- January 2007 (499)
- December 2006 (480)
- November 2006 (454)
- October 2006 (391)
- September 2006 (437)
- August 2006 (389)
- July 2006 (840)
- June 2006 (397)
- May 2006 (778)
- April 2006 (426)
- March 2006 (591)
- February 2006 (291)
- January 2006 (391)
- December 2005 (434)
- November 2005 (1,060)
- October 2005 (554)
- September 2005 (677)
- August 2005 (1,157)
- July 2005 (419)
- June 2005 (704)
- May 2005 (195)
- April 2005 (446)
- March 2005 (474)
- February 2005 (770)
- January 2005 (210)
- December 2004 (295)
- November 2004 (308)
- October 2004 (558)
- September 2004 (580)
- August 2004 (734)
- July 2004 (927)
- June 2004 (653)
- May 2004 (575)
- April 2004 (774)
- March 2004 (585)
- February 2004 (819)
- January 2004 (700)
- December 2003 (903)
- November 2003 (682)
- October 2003 (530)
- September 2003 (297)
- August 2003 (659)
- July 2003 (604)
- June 2003 (952)
- May 2003 (994)
- April 2003 (557)
- March 2003 (556)