FAQ

Search Discussions

131 discussions - 575 posts

  • Hello internals, while working with php 5 the last days i find it more and more annoying that we allow NULL with type hints. From my perspective allowing NULL with typehints would happen only very ...
    Marcus BoergerMarcus Boerger
    May 1, 2004 at 8:09 pm
    May 12, 2004 at 12:16 pm
  • A) Isn't it late in the RC cycle to be adding features? B) You're mising a ; (line 259) -Sara ----- Original Message ----- From: "Andrei Zmievski" <andrei@php.net Newsgroups: php.zend-engine.cvs To: ...
    Sara GolemonSara Golemon
    May 15, 2004 at 8:09 pm
    May 19, 2004 at 10:56 pm
  • Attached is a small patch that can let you do the following. If you set a custom error handler via set_error_handler() but don't want to implement all the details of handling every single error ...
    Andrei ZmievskiAndrei Zmievski
    May 27, 2004 at 3:51 pm
    May 30, 2004 at 8:32 pm
  • Please test. If there are no critical problems I'll release RC3 tomorrow which I think will be the last RC for 5.0. http://snaps.php.net/~andi/php-5.0.0RC3RC1.tar.bz2 ...
    Andi GutmansAndi Gutmans
    May 27, 2004 at 3:09 pm
    May 30, 2004 at 12:27 pm
  • 'common.php' contains some class definition and PHP5 fails with 'PHP Fatal error: Cannot redeclare class ... in common.php...' when script C.php starts. The file including map is: A.php: ...
    Tumurbaatar S.Tumurbaatar S.
    May 4, 2004 at 5:26 am
    May 6, 2004 at 4:25 am
  • var_dump($someobject); shows only public properties (as I'd expect), but print_r($someobject) shows all properties (explicitly identifying protected/private props). Am I wrong in thinking that's not ...
    Sara GolemonSara Golemon
    May 18, 2004 at 4:00 am
    May 20, 2004 at 7:59 pm
  • Hello , I've got a patch (originally ported from old version GD) which adds GIF write support to bundled libGD. Is there any chance to accept it to core ? I've been testing it for quite long time ...
    Andrew SitnikovAndrew Sitnikov
    May 20, 2004 at 10:30 am
    Jul 8, 2004 at 7:08 am
  • Guys, I saw the alpha of PDO on pecl. I was wondering if we could discuss the design of it a bit more before putting too much work into it. In particular, the way transactions are represented is not ...
    Ard BiesheuvelArd Biesheuvel
    May 22, 2004 at 3:38 pm
    May 23, 2004 at 7:13 pm
  • I've cooked up a patch [1] that causes extension modules to be initialized in an order appropriate to their dependencies. (in other words, it only affects internal_functions.c during configure time). ...
    Wez FurlongWez Furlong
    May 20, 2004 at 7:34 pm
    May 26, 2004 at 1:33 pm
  • Hello, These days I've been working on some tasks to reduce I/O system calls (lstat64, stat64, open and so on) of PHP for some reasons and as the result of it, I noticed that with the APC + very ...
    Masaki FujimotoMasaki Fujimoto
    May 6, 2004 at 1:36 pm
    May 10, 2004 at 10:48 am
  • Long ago I was told constants could only be scalars, so I accepted it. Certainly ZEND_FUNCTION(define) does the check to ensure it's a scalar, but why? For what I can tell a zend_constant is just a ...
    Sara GolemonSara Golemon
    May 8, 2004 at 4:14 am
    May 13, 2004 at 10:07 pm
  • Patch Moves the Registering of the PHP XML Streams to the request init, instead of installing them globaly in the Module init. This is needed if any other Apache modules use libxml2 on a non-php ...
    Paul QuernaPaul Querna
    May 27, 2004 at 5:13 am
    May 30, 2004 at 11:27 pm
  • Hi ! The manual reads : "The name of a constant follows the same rules as any label in PHP. A valid constant name starts with a letter or underscore, followed by any number of letters, numbers, or ...
    Mehdi AchourMehdi Achour
    May 5, 2004 at 8:02 pm
    May 10, 2004 at 6:52 pm
  • Hello I'm having compile issues with PHP5 on Solaris. I tried both Solaris 8 and 9, both giving me the same error. The problem is in the file ext/standard/proc_open.c And the error message from gcc ...
    Daniel FahlgrenDaniel Fahlgren
    May 7, 2004 at 11:58 am
    May 7, 2004 at 8:44 pm
  • Hi Guys, Just a quick update on the 4.3.X tree, we have close to 25 fixes in the CVS at this point and we might as well start ball rolling as far as making 4.3.7. I'd would like to release the RC1 of ...
    Ilia AlshanetskyIlia Alshanetsky
    May 17, 2004 at 7:24 pm
    May 21, 2004 at 9:06 pm
  • Hi Internals, hi Timm, (reindented quote to better fit into email) [...] This patch (committed with rev. 1.89 in ext/sybase_ct/php_sybase_ct.c) introduces a behaviour I consider broken: # select ...
    Alex KieselAlex Kiesel
    May 14, 2004 at 3:34 pm
    May 16, 2004 at 8:22 pm
  • This topic got quietly dropped last week, but I'd like to make one last plea. I'd like to see Zend throw an E_STRICT when arrays are implicitly created. I know there were objections to E_NOTICE, but ...
    Sara GolemonSara Golemon
    May 7, 2004 at 9:05 pm
    May 8, 2004 at 4:41 pm
  • folks, first post/patch, please be gentle <g . hosting companies using mod_php have a *very* hard time preventing and tracking abuse of mail(). when sendmail is invoked from a suexeced cgi script, we ...
    Paul GPaul G
    May 30, 2004 at 1:52 pm
    Jun 1, 2004 at 5:41 pm
  • Hi all, is there a specific reason why nested blocks in switch statements are not supported ? It can be very useful if you want to jump into the middle of the first iteration of a loop (like fetching ...
    Ard BiesheuvelArd Biesheuvel
    May 28, 2004 at 4:09 pm
    May 29, 2004 at 3:13 pm
  • Hello, This is a question relating to the new PHP5 Object Destructor functionality. Consider the following: <?php class DB { function Query() { ... } } class Session { function SetVar() { //sets a ...
    Jason GarberJason Garber
    May 23, 2004 at 9:48 pm
    May 24, 2004 at 3:25 pm
  • Hi, I know PDO is slated to be _the_ db-abstraction module from 5.x (5.1?) onwards (which would replace dbx, but that's fine by me: PDO seems to work more or less the same but with a more OO-ish ...
    Marc BoerenMarc Boeren
    May 13, 2004 at 2:31 pm
    May 24, 2004 at 7:32 am
  • For your information: Until now we found with php / phpGroupWare only one problem on the Itanium 2 machine. phpGW has used mktime() with day values <= 0 This seems to be fixed (magically) by the ...
    Kai HofmannKai Hofmann
    May 6, 2004 at 6:32 am
    May 7, 2004 at 11:39 am
  • I am by no means an expert with OOP, so if this is a blatantly retarded question please excuse my ignorance. Given this code: <?php class A { function foo() { echo __METHOD__; } } class B { function ...
    Daniel J Cain Jr .Daniel J Cain Jr .
    May 22, 2004 at 12:07 am
    May 22, 2004 at 7:33 pm
  • Hi, I'm writing to you guys, because I'm unable to get a response from systems@php.net I'm unable to access any of the pages on master.php.net/manage; my username/password simply does not work - the ...
    Aidan ListerAidan Lister
    May 21, 2004 at 9:36 am
    May 21, 2004 at 1:51 pm
  • Hi, I think objects comparison in PHP5 has problems. Here is small sample code, <?php class Foo { var $v = 1; } class Boo { var $v = 1; } $a = new Foo; $b = new Foo; $c = new Boo; $d = new Foo; $d- v ...
    Rui HirokawaRui Hirokawa
    May 9, 2004 at 7:43 am
    May 10, 2004 at 3:01 pm
  • PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (773 total including feature requests) ===============================================[*General Issues]============== 27372 ...
    InternalsInternals
    May 3, 2004 at 7:00 am
    May 31, 2004 at 7:00 am
  • Hello devs, I'd like to discuss the use of objects as array keys. <?php class idobject { private $_id; function __construct ($id) { $this- _id = $id; } function __tostring () { return (int)$this- ...
    Aidan ListerAidan Lister
    May 22, 2004 at 6:40 am
    May 29, 2004 at 12:52 pm
  • I tried to reopen bug #25939 <http://bugs.php.net/bug.php?id=25939 because I ran into the same problem as <topace at lightbox dot org but it's not my bug report. Should I open a new bug? I agree with ...
    Christian SchneiderChristian Schneider
    May 27, 2004 at 12:38 pm
    May 28, 2004 at 2:08 pm
  • 4

    RC3

    Hey, I'd like to release RC3 on Thursday/Friday. I believe this to be the last RC before we can release. If anyone has bug fixes to commit please do so within the next couple of days. Thanks, Andi
    Andi GutmansAndi Gutmans
    May 25, 2004 at 12:09 pm
    May 27, 2004 at 2:57 pm
  • The following code triggers a segfault with the attached stacktrace: <?php class UML_Class extends ReflectionClass { } print ReflectionClass::export('UML_Class'); ? -- Sebastian Bergmann ...
    Sebastian BergmannSebastian Bergmann
    May 22, 2004 at 11:48 am
    May 26, 2004 at 7:28 am
  • Good afternoon! Could anyone explain what we're supposed to do with internal classes like the mysqli class. In an article on Zend.com (http://www.zend.com/php5/articles/php5-mysqli.php) the fact that ...
    Bert SlagterBert Slagter
    May 21, 2004 at 12:52 pm
    May 26, 2004 at 12:59 am
  • The following script: <?php error_reporting(E_ALL); leak(100); print "hello\n"; Doesn't report a leak in CLI mode but it does in CGI. It seems that stderr and stdout file descriptors are getting ...
    Andi GutmansAndi Gutmans
    May 25, 2004 at 10:14 am
    May 25, 2004 at 12:13 pm
  • zend_declare_property() tells me that I can't use it to create a class property that is an array. Why is that? What is the recommended way to create an array class property? Thanks, David
    David SklarDavid Sklar
    May 13, 2004 at 7:29 pm
    May 13, 2004 at 9:28 pm
  • This reminds me: why do we have constant value as a regular zval instead of zval*? On every constant fetch we are invoking a copy constructor and that can add up in applications that use a lot of ...
    Andrei ZmievskiAndrei Zmievski
    May 26, 2004 at 9:04 pm
    May 27, 2004 at 4:01 pm
  • Hi internals, this piece of code causes coredumps with PHP5-RC2: <?php include('Smarty-2.6.2/libs/Smarty.class.php'); function smarty_test($params, $smarty) { //Now we raise a notice about name not ...
    Cristiano DuarteCristiano Duarte
    May 6, 2004 at 4:42 pm
    May 27, 2004 at 11:59 am
  • Hi, In the process of getting ready for the release, I'd like to post RC3 pretty soon. Does Thursday give you guys enough time to fix whatever bugs you have on your TODO? As we are nearing a release, ...
    Andi GutmansAndi Gutmans
    May 21, 2004 at 4:36 am
    May 26, 2004 at 2:28 pm
  • Hi all! Could somebody explain me why we're setting only LC_CTYPE to it's current value in main/main.c, line 1368 ? What is the reason to make all users to call setlocale() explicitly to set LC_ALL ? ...
    Antony DovgalAntony Dovgal
    May 18, 2004 at 12:21 pm
    May 25, 2004 at 7:34 am
  • I've currently got some libraries written in C++ with various class interfaces, I was going to write an interface between them and PHP but got very stuck trying to get the extension to recognize any ...
    Peter 'iridium' WallerPeter 'iridium' Waller
    May 16, 2004 at 3:09 am
    May 16, 2004 at 10:55 pm
  • I have discovered that SQLite function sqlite_query runs sqlite_exec function if it's return value is used and sqlite_compile/sqlite_step combo if return value is used. I think this is a problem - if ...
    Stanislav MalyshevStanislav Malyshev
    May 13, 2004 at 1:26 pm
    May 13, 2004 at 1:52 pm
  • Hello, I'm quite new to this newsgroup, and I hope this is the right place to ask the question. I want to be able to read PHP source files from an archive. Script is not present on the hard disk, but ...
    Srdjan MijanovicSrdjan Mijanovic
    May 7, 2004 at 4:38 pm
    May 10, 2004 at 7:00 am
  • Hi, I think it would be useful if require would throw an exception on failure. Currently one would use @include in order to load in a file that could be missing or could contain parse errors. However ...
    Lukas SmithLukas Smith
    May 8, 2004 at 9:59 am
    May 9, 2004 at 1:35 pm
  • I realize this is probably a big question; however, it will determine the outcome of a project I am working on. When will be the first official release of PHP 5.0.0? [29-Jun-2003] PHP 5.0.0 Beta 1 ...
    Andrew M. JohnstoneAndrew M. Johnstone
    May 8, 2004 at 2:30 am
    May 8, 2004 at 6:37 am
  • Currently, re-assignment of $this is handled in compile time but that won't stop anyone from creating a referenc of $this and changing its value. Of course, any indirect changes to $this won't ...
    Sara GolemonSara Golemon
    May 22, 2004 at 9:12 pm
    May 23, 2004 at 6:56 pm
  • For 5.0.0RC2 in main/rfc1867.c this code was introduced: #define DEBUG_FILE_UPLOAD ZEND_DEBUG As a result even Release builds of 5.0.0RC2 are reporting file upload errors as E_NOTICE errors. This ...
    Michael SisolakMichael Sisolak
    May 11, 2004 at 2:48 pm
    May 11, 2004 at 5:41 pm
  • Hi, has anyone played around with those two subjects from php-src/TODO ? * Allow foreach ($array as $k = list($a, $b)) syntax for multi dimensional arrays. * Allow foreach ($array as $k = &$val) ...
    Markus FischerMarkus Fischer
    May 2, 2004 at 9:17 am
    May 3, 2004 at 8:51 am
  • Do I understand right that overload extension is dead in PHP5? We probably need to put some note in the manual then. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ ...
    Stanislav MalyshevStanislav Malyshev
    May 30, 2004 at 1:00 pm
    May 30, 2004 at 1:16 pm
  • hello! i really don't know if this is the right place to post this kind of question, but it seems to be quite close. why can't i use C-like variable conversions in php's function declaration, eg. ...
    AhtiAhti
    May 29, 2004 at 9:47 pm
    May 30, 2004 at 7:18 am
  • Wez, could you please explain what is the function of #define _XOPEN_SOURCE in ext/standard/proc_open.c? It breaks build (by preventing ulong and other types from being define) on some systems, like ...
    Stanislav MalyshevStanislav Malyshev
    May 25, 2004 at 10:57 am
    May 25, 2004 at 11:16 am
  • hi all, I wanted to forward this message along, and also ask some questions: -Are there any plans to support packages / modules properly? (ala python, which looks very nice, or I suppose java, etc). ...
    Alex blackAlex black
    May 24, 2004 at 8:04 pm
    May 25, 2004 at 7:28 am
  • Hello, I'm maintaining the PDFlib wrapper code for the "pdf" extenions of PHP. I did a major rewrite of the wrapper for PDFlib 6 and PHP 5 and wanted to ask whether it is good idea to check in this ...
    Rainer SchaafRainer Schaaf
    May 24, 2004 at 10:26 am
    May 24, 2004 at 10:39 am
Group Navigation
period‹ prev | May 2004 | next ›
Group Overview
groupphp-internals @
categoriesphp
discussions131
posts575
users139
websitephp.net

139 users for May 2004

Andi Gutmans: 65 posts Wez Furlong: 42 posts Derick Rethans: 29 posts Sara Golemon: 27 posts Andrei Zmievski: 20 posts Timm Friebe: 18 posts Marcus Boerger: 17 posts Christian Schneider: 13 posts Ard Biesheuvel: 12 posts Rasmus Lerdorf: 12 posts Stanislav Malyshev: 12 posts Ilya Sher: 9 posts Jason Garber: 9 posts Aidan Lister: 8 posts Daniel Fahlgren: 8 posts George Schlossnagle: 8 posts Tumurbaatar S.: 8 posts Bert Slagter: 7 posts Ilia Alshanetsky: 7 posts Jevon Wright: 7 posts
show more
Archives