Search Discussions

129 discussions - 682 posts

  • I propose to add an alternative (backward compatible) short array creation syntax: $a = [ 1, 2, 3 ]; and $a = [ 'a' = 42, 'b' = "foo" ]; It can also be used in function calls: img(['src' = ...
    Christian SchneiderChristian Schneider
    Nov 4, 2003 at 11:33 pm
    Nov 6, 2003 at 2:33 pm
  • Hi guys, Now that we're at a very advanced stage and the code freeze is coming up, I think it'd be a good idea to start running some PHP 4 applications on PHP 5 and see how easy things go. I'm sure ...
    Andi GutmansAndi Gutmans
    Nov 27, 2003 at 9:45 am
    Dec 4, 2003 at 2:02 pm
  • Do you really think this is necessary? I can see the automatic object- string casting being useful for things like print(), but when a extension author expects a string, would it make sense to make ...
    Andrei ZmievskiAndrei Zmievski
    Nov 28, 2003 at 1:02 pm
    Dec 4, 2003 at 9:25 am
  • Hey guys, I think the PHP 5 tree has matured a lot and it's time to release an RC. I think end of November or mid-December makes sense. I'd like to aim at the former date. Are there any major (as in ...
    Andi GutmansAndi Gutmans
    Nov 11, 2003 at 6:05 pm
    Nov 19, 2003 at 2:16 pm
  • Hey, I added an E_STRICT error level today which purists can use to make sure that there scripts are using the latest and greatest suggested method of coding (according to what we decide). Ideas are ...
    Andi GutmansAndi Gutmans
    Nov 18, 2003 at 10:00 pm
    Nov 30, 2003 at 7:01 pm
  • Guys (n' Girls), I think there was a lot of good and positive talk in the past few emails. Let me summarize: a) There are still people who have to fix some of their extension and are actually working ...
    Andi GutmansAndi Gutmans
    Nov 12, 2003 at 7:12 am
    Nov 13, 2003 at 5:43 pm
  • Attached file, implements validate_file(), which implements a php space syntax check for PHP scripts. It returns a boolean true/false value indicating whether the script has parse errors or not. ...
    Ilia AlshanetskyIlia Alshanetsky
    Nov 19, 2003 at 4:16 pm
    Nov 20, 2003 at 2:13 pm
  • Hello! Maybe we should move extensions like dbase, ovrimos, ingress_ii, qtdom & pfpro to PECL before releasing beta 3 ? Wez said, on IRC, that we need a script to pick out the "golden" extensions for ...
    Magnus MäättäMagnus Määttä
    Nov 30, 2003 at 8:18 am
    Dec 1, 2003 at 11:35 pm
  • A while ago I posted [1] a script that performed some micro-benchmarks on PHP. I have now refined this benchmark by splitting the monolithic script into one script per micro-benchmark thus performing ...
    Sebastian BergmannSebastian Bergmann
    Nov 15, 2003 at 7:29 am
    Nov 18, 2003 at 3:17 pm
  • Hi, I've a seg fault with 4.3.4 To find where I configure with --enable-debug Now no seg fault but the cli print something. How to investigate more ? JP [Tue Nov 25 22:11:24 2003] Script: ...
    Jean-Pierre ArneodoJean-Pierre Arneodo
    Nov 25, 2003 at 9:40 pm
    Nov 28, 2003 at 3:27 pm
  • Howdy, I'm playing with php5 (from cvs), and came accross a strange error that doesn't happen with php4. Maybe someone can shed some light on this for me? I get the error "Fatal error: Only variables ...
    Walter A. Boring IVWalter A. Boring IV
    Nov 13, 2003 at 6:20 am
    Nov 13, 2003 at 7:27 pm
  • We run into a problem, when tryng to organize class files since autoload always uses lowercase. My class file, for example, is named ArrayIterator.class.php (as the class ArrayIterator ) but I get ...
    Eduardo R. MacielEduardo R. Maciel
    Nov 18, 2003 at 5:42 pm
    Nov 27, 2003 at 5:39 pm
  • Hi, Attached is a patch against 5.0.0b2 for ext/standard/html.c that adds support for the MacRoman encoding to the htmlentities function. I guess it may also be used by html_decode_entities too. It ...
    Marcus BointonMarcus Bointon
    Nov 21, 2003 at 2:45 pm
    Nov 21, 2003 at 3:51 pm
  • I have been looking at the IIS isapi issues and came up with the following patch: http://www.ctindustries.net/patches/zts-php5.diff.txt The changes are not just local to the isapi as it seems that ...
    Rob RichardsRob Richards
    Nov 16, 2003 at 12:35 pm
    Nov 22, 2003 at 2:50 pm
  • Building ext/mysql and ext/mysqli together works okay when building only the sapi/cli, but fails when building sapi/apache2handler: http://www.sebastian-bergmann.de/stuff/mysql-mysqli-good.txt ...
    Sebastian BergmannSebastian Bergmann
    Nov 23, 2003 at 11:18 am
    Dec 1, 2003 at 5:18 am
  • How about a ZEND_CHANGES entry for this? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
    Sebastian BergmannSebastian Bergmann
    Nov 24, 2003 at 9:37 pm
    Nov 25, 2003 at 5:22 pm
  • Works on my box (no idea how sane this is, or what it may break on other systems, please handle like barbed wire). - Steph
    Nov 21, 2003 at 7:49 pm
    Nov 22, 2003 at 1:25 pm
  • Works with everything. (phew!) Wez?? - Steph
    Nov 14, 2003 at 1:01 am
    Nov 14, 2003 at 4:35 pm
  • I saw a mention of someone inquiring if Zend would sponsor the writing of articles / tutorials on PHP5, and that it appeared Andi wasn't too keen on the idea. I went to my boss and found that my ...
    Jeremy JohnstoneJeremy Johnstone
    Nov 13, 2003 at 2:51 am
    Nov 13, 2003 at 10:09 pm
  • I find having to encrypt to and from a file quite a pain. I create a message in PHP, save it to a temporary file, encrypt it to a second temporary file, read this file, then mail the contents. If you ...
    Richard Antony BurtonRichard Antony Burton
    Nov 5, 2003 at 11:22 am
    Nov 7, 2003 at 11:04 am
  • Now that objects are accounted for by references and id, it should be possible to use them as keys in an associative array. That might be an interesting feature to have.
    Nov 3, 2003 at 1:26 pm
    Nov 7, 2003 at 2:41 am
  • Hey, Is there any place the updated SimpleXML, DOM, XSL extensions are documented? I don't think they are in the PHP manual. This is crucial to get the word out because I've gotten quite a few ...
    Andi GutmansAndi Gutmans
    Nov 6, 2003 at 8:17 am
    Nov 6, 2003 at 8:24 pm
  • SimpleXML's XPath searching doesn't allow you to use namespaces. This patch: 1) Automatically registers any namespace prefixes used in the document. 2) Registers any prefixes manually added from ...
    Adam Maccabee TrachtenbergAdam Maccabee Trachtenberg
    Nov 21, 2003 at 9:48 pm
    Nov 24, 2003 at 11:28 am
  • Hi all, The current implementation of file:// support under main/streams/strems.c has a little bug. Maybe it's my gcc 3.2.2 compiler... I don't know... Anyway, the attached patch fixes it. Best ...
    Cristiano DuarteCristiano Duarte
    Nov 23, 2003 at 12:40 am
    Nov 23, 2003 at 2:39 pm
  • Any chance we can make the necessary changes to support an upload progress bar? I came accross this web site but I'm not quite sure if always populating RAW_POST_DATA is enough. ...
    Andi GutmansAndi Gutmans
    Nov 12, 2003 at 8:31 am
    Nov 21, 2003 at 6:09 pm
  • If there are no objections I plan on committing this tomorrow on both HEAD and PHP_4_3 branches. This fixes the openssl FreeBSD problem I posted about earlier. Is there a better way of fixing it? ...
    Brian J. FranceBrian J. France
    Nov 13, 2003 at 7:19 am
    Nov 13, 2003 at 6:38 pm
  • When trying to derive from class Exception and access the 'string' property or call 'parent::__toString' PHP segfaults: <?php class MyException extends Exception { function __toString() { ...
    Markus FischerMarkus Fischer
    Nov 29, 2003 at 2:58 pm
    Dec 1, 2003 at 6:57 am
  • bison -y /usr/src/php/php5/ext/standard/parsedate.y -o /usr/src/php/php5/ext/standard/parsedate.c conflicts: 21 shift/reduce, 15 reduce/reduce /usr/src/php/php5/ext/standard/parsedate.y: expected 0 ...
    Sebastian BergmannSebastian Bergmann
    Nov 21, 2003 at 7:50 am
    Nov 25, 2003 at 10:53 am
  • Hi Andi, See http://jan.prima.de/~jan/test_php5_before_andi.txt and http://jan.prima.de/~jan/test_php5_after_andi.txt "before" was done with php5-200311241830 which is ~ 90 minutes older than HEAD ...
    Jan LehnardtJan Lehnardt
    Nov 24, 2003 at 7:44 pm
    Nov 24, 2003 at 9:16 pm
  • Do you have a release of gmp older than 4.1.2 maybe? There is only __GMP_BITS_PER_MP_LIMB in the 4.1.2 I have here, so this broke the build--here is a fix: Index: ext/gmp/gmp.c ...
    Joe OrtonJoe Orton
    Nov 24, 2003 at 3:39 pm
    Nov 24, 2003 at 4:10 pm
  • Hey, I've been taking a look at the __autoload problem. During that time I saw that lots of places in the code (especially reflection API) use zend_str_tolower_dup(). In most of these cases it would ...
    Andi GutmansAndi Gutmans
    Nov 20, 2003 at 9:49 am
    Nov 23, 2003 at 4:13 pm
  • Can someone with a clean windows build test the changes for the libxml/iconv linking. I believe it is working, but have so many copies of libxml/libxslt on my system I cant be 100% sure that it is. A ...
    Rob RichardsRob Richards
    Nov 20, 2003 at 12:22 pm
    Nov 21, 2003 at 2:52 pm
  • Hi all, Could someone let me know if omission of the closing php tag from a source file without generating an error is a bug or a feature? I've always thought it a feature, but someone suggested on ...
    Robert CummingsRobert Cummings
    Nov 16, 2003 at 12:14 am
    Nov 16, 2003 at 9:08 am
  • Greetings: I'm familliar with the new "Only variables or references can be returned by reference" behavior in PHP 5 and am helping the PEAR crew resolve compatibility issues on this front. I ran some ...
    Daniel ConvissorDaniel Convissor
    Nov 12, 2003 at 5:45 pm
    Nov 15, 2003 at 12:26 am
  • I am using the PHP GD functions to resize my images. I get the following error when trying to resize multiple images. It works for one image. ...
    Nov 26, 2003 at 7:42 pm
    Nov 29, 2003 at 12:12 pm
  • Hello, I think this belongs here :) Derick ---------- Forwarded message ---------- Date: Wed, 26 Nov 2003 10:07:48 -0400 From: Jose Castro Gonzalez <jcastro@elnuevodia.com To: editors@php-mag.net ...
    Derick RethansDerick Rethans
    Nov 26, 2003 at 3:21 pm
    Nov 27, 2003 at 1:48 pm
  • Hello group, Did something really stupid today: deleted my snap from nov 12 while downloading todays snap. Todays snap has a really stupid bug in it: $this- dom = new domDocument(); $t = ...
    John HuntjensJohn Huntjens
    Nov 22, 2003 at 1:49 pm
    Nov 23, 2003 at 7:21 pm
  • Hi everyone, I've attached a patch which adds a function that basically wraps the ctype.h functions. It pretty much just lets you check to see if a string contains only a certain set of characters. I ...
    Evan NemersonEvan Nemerson
    Nov 21, 2003 at 8:45 pm
    Nov 21, 2003 at 10:28 pm
  • Hi, While playing with the upload progress meter I noticed that apache2 sapi implementation does not initialize the content-length sapi variable. Apache 1.3 sapi does! and so does ALL OTHER ...
    Doru PetrescuDoru Petrescu
    Nov 20, 2003 at 11:13 am
    Nov 20, 2003 at 3:21 pm
  • Hi, Even though this is documented, it is strange behaviour: If the from parameter to substr() is at, or past, the end of the input string, the function returns false. The function is documented as ...
    Morten PoulsenMorten Poulsen
    Nov 19, 2003 at 1:40 pm
    Nov 20, 2003 at 10:04 am
  • I'm not too sure this belongs here or on PHP-INST (there was a message by Dinesh Anchan back in July 17 on PHP-INST where the replier wasn't helpful to the poor guy). In any case... I'm running into ...
    Terry chayTerry chay
    Nov 13, 2003 at 6:59 pm
    Nov 19, 2003 at 11:49 am
  • Looking into the win32 snapshot logs: A lot of errors during compile because of no disk space. Uwe ----- Uwe Schindler thetaphi@php.net - http://www.php.net NSAPI SAPI developer Erlangen, Germany
    Uwe SchindlerUwe Schindler
    Nov 18, 2003 at 9:12 am
    Nov 18, 2003 at 9:48 am
  • Question : is there any one of the supported platforms that dont support a 64 bit integer type. i'm not referring to the native int size. for one i can think of Windows 95/98. i'm porting a library ...
    Nov 6, 2003 at 12:58 am
    Nov 6, 2003 at 10:47 pm
  • Does anybody have an IIS 6 setup on which they can test the Windows installer version of php 4.3.4? I've modified the installer so that for IIS 6 it runs iisext to add php as a web service extension, ...
    Phil DriscollPhil Driscoll
    Nov 3, 2003 at 3:50 pm
    Nov 3, 2003 at 5:26 pm
  • Hi, does anyone care that there _will_ be a rather big number of folks (isps/hosting companies/etc) that will stay with 4.x for some time even if php5 is out? For me (being a developer) this is no ...
    Thomas LamyThomas Lamy
    Nov 3, 2003 at 9:06 am
    Nov 3, 2003 at 2:02 pm
  • Maybe update the bundled libpcre to 4.4? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
    Sebastian BergmannSebastian Bergmann
    Nov 20, 2003 at 12:15 pm
    Nov 29, 2003 at 8:39 am
  • Hello I am using the macros ZVAL_BOOL, ZVAL_LONG, ZVAL_DOUBLE and ZVAL_STRING to change the value of a zval passed by reference. I noticed that these macros do not free the original value if it's a ...
    Robert TwittyRobert Twitty
    Nov 26, 2003 at 10:31 pm
    Nov 27, 2003 at 6:13 pm
  • Hello, I was surprised to find that, although the GD image-handling functions shipped with PHP do many useful things very well, there's no function to sharpen an image. I found a few posts bemoaning ...
    Paul TroughtonPaul Troughton
    Nov 24, 2003 at 3:10 pm
    Nov 24, 2003 at 4:32 pm
  • Forgive me if this is the wrong place to ask, but I'd like to be able to run both the latest version of the 4.3.x branch and the 5.0.x branch simultaneously, differentiating only by extension (.php ...
    Nov 15, 2003 at 6:09 am
    Nov 17, 2003 at 4:55 pm
  • I've been writing an extension that uses LibIDN (http://josefsson.org). The extension comes with (resonable) documentation... Information about the extension can be found at ...
    Turbo FredrikssonTurbo Fredriksson
    Nov 10, 2003 at 12:25 pm
    Nov 10, 2003 at 5:28 pm
Group Navigation
period‹ prev | Nov 2003 | next ›
Group Overview
groupphp-internals @

144 users for November 2003

Andi Gutmans: 56 posts Jani Taskinen: 35 posts Derick Rethans: 29 posts Marcus Börger: 26 posts Sebastian Bergmann: 25 posts Christian Schneider: 23 posts Ilia Alshanetsky: 23 posts Wez Furlong: 21 posts Steph: 17 posts George Schlossnagle: 16 posts Michael Walter: 14 posts Rob Richards: 13 posts Daniel Convissor: 12 posts Sara Golemon: 12 posts Cristiano Duarte: 9 posts Ford, Mike [LSS]: 9 posts Marco Tabini: 9 posts Markus Fischer: 9 posts Olivier Hill: 9 posts Adam Maccabee Trachtenberg: 8 posts
show more