Search Discussions

62 discussions - 308 posts

  • 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 LipmanDerrell 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 ReimerKlaus 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 GutmansAndi Gutmans
    Nov 16, 2004 at 10:57 pm
    Dec 3, 2004 at 9:57 am
  • 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 ...
    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 FurlongWez 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 AlonsoFrancisco 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 ...
    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 ChittendenSean 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 ZidarVladimir 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 FriebeTimm 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 ...
    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 MelerWojtek 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 BertheauMarkus 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 ZwiegersJan 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 ...
    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 ...
    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 NicolasCyprien 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 ...
    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 WindbichlerAlexander 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 ...
    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 FriebeTimm 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 BeaverGreg 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 NemersonEvan 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. KromannFrank 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 OrtonJoe 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 JayachandranKamesh 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 BergmannSebastian 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 ...
    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 ListerAidan 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 PerkinsJason 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 WibergBjö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 CarsonBenj 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 TooheyTim 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, ...
    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 GutmansAndi 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\" NicolasCyprien \"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 BergmannSebastian 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 RethansDerick 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 SmithJay 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 BacciAndré 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 ...
    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 VranaJakub 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 GlaserRodric Glaser
    Nov 3, 2004 at 1:29 am
    Nov 3, 2004 at 2:40 am
  • 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 WebsterSeth 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 LHans 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 RuemplerSö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 SweatJason 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 RethansDerick 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 Navigation
period‹ prev | Nov 2004 | next ›
Group Overview
groupphp-internals @

93 users for November 2004

Marcus Boerger: 28 posts Derick Rethans: 21 posts Andi Gutmans: 17 posts Ilya77: 16 posts Andrey Hristov: 12 posts Wez Furlong: 12 posts Internals: 10 posts Sebastian Bergmann: 9 posts Klaus Reimer: 8 posts Joe Orton: 7 posts Christian Schneider: 6 posts Curt Zirzow: 6 posts Sara Golemon: 6 posts Cyprien Nicolas: 5 posts Ilia Alshanetsky: 5 posts Moriyoshi Koizumi: 5 posts Vladimir Zidar: 5 posts Antony Dovgal: 4 posts Francisco M. Marzoa Alonso: 4 posts Markus Bertheau: 4 posts
show more