FAQ

Search Discussions

51 discussions - 335 posts

  • Hi, so, 5.3.1 out just a few weeks but due to the merge-based process and some delays in there the changelog for 5.3 is already quite long and so I'd like to restart the release process there soon. ...
    Johannes SchlüterJohannes Schlüter
    Dec 7, 2009 at 1:38 pm
    Dec 12, 2009 at 2:22 pm
  • Hello all. I'm glad to announce that we now have FPM SAPI available for testing in a separate SVN branch. You can check out its sources using the following command: svn co ...
    Antony DovgalAntony Dovgal
    Dec 4, 2009 at 12:54 pm
    Dec 8, 2009 at 9:10 pm
  • PHP's documentation for foreach states that if you iterate by reference [foreach ($ii as &$i) ...], you should unset $i after the loop. $i still points to the last element of the array - updating $i ...
    Mike WackerMike Wacker
    Dec 27, 2009 at 1:00 pm
    Dec 28, 2009 at 3:48 pm
  • Hi guys, I start a new thread about the syntax that should be used in php-fpm to replace xml. As discussed before, there is different point on view on this subject: - INI to stay in the PHP ...
    Jérôme LoyetJérôme Loyet
    Dec 9, 2009 at 2:55 pm
    Dec 10, 2009 at 2:19 am
  • NOTE: I just remembered there -is- a config-file-scan-dir option at compile time. However, what about doing away with this and making it inline in php.ini, the syntax can match mysql, as it uses ini ...
    Michael ShadleMichael Shadle
    Dec 23, 2009 at 12:40 pm
    Dec 28, 2009 at 3:31 pm
  • Since 5.3.1 it's impossible to have a reference parameter passed to a __call() function. This is apparently due to the bugfix committed by stas as shown here: ...
    Tim StarlingTim Starling
    Dec 9, 2009 at 10:43 pm
    Dec 18, 2009 at 2:01 am
  • Hi tony, There is several things in this patch: 1- makes log message about pool concistent. I set it to "[pool %s] message". Before there where different variants: pool %s, foo (pool %s) bar [pool ...
    Jérôme LoyetJérôme Loyet
    Dec 14, 2009 at 8:16 pm
    Dec 16, 2009 at 3:29 am
  • Hi! One of the many things that is chaotic in PHP is what internal function returns when invalid parameters are given (i.e. params parsing fails). Most of those functions do one of: 1a. just return - ...
    Stanislav MalyshevStanislav Malyshev
    Dec 31, 2009 at 6:10 am
    Jan 1, 2010 at 2:35 am
  • Has there been any discussion or decision about whether is_array() should return true for objects which implement ArrayAccess or is there another function already available which checks for either ...
    Clint PriestClint Priest
    Dec 28, 2009 at 4:30 pm
    Dec 31, 2009 at 9:35 am
  • Hi all, I would like to learn more about how the interpreter works, but I was unable to find good documents on the web. Basically I am thinking on something about allocation of variables, how does ...
    Christian GrobmeierChristian Grobmeier
    Dec 21, 2009 at 1:57 pm
    Dec 22, 2009 at 3:16 pm
  • Hi, Does anyone know how to inspect the opcode of a php file? Thanks -- Mathieu Suen
    Mathieu SuenMathieu Suen
    Dec 3, 2009 at 3:51 pm
    Dec 4, 2009 at 7:59 am
  • Hi, I wanted to install php-5.2.12 on a 32-Bit SLES9 SP4. I had no problems with the 64-Bit SLES10SP2 but with the 32-Bit I can't use pecl. Whenever I try to install a library I only get a seg. ...
    Karl PflästererKarl Pflästerer
    Dec 22, 2009 at 12:52 pm
    Dec 22, 2009 at 4:40 pm
  • Hi! Although I'm new here and I know I'm about to stir up a hornets' nest, please allow me to introduce another error/exception proposal. The problem for me as a php end-user currently is, that no ...
    Hans-Peter OeriHans-Peter Oeri
    Dec 29, 2009 at 10:25 am
    Dec 31, 2009 at 4:21 am
  • Hi, I am wondering what the opcode EXT_FCALL_BEGIN and EXT_FCALL_END is used for? Thanks -- Mathieu Suen
    Mathieu SuenMathieu Suen
    Dec 7, 2009 at 2:13 pm
    Dec 9, 2009 at 8:19 pm
  • Hi, Since LXR hasn't been updating since the shift to SVN, I've been investigating bringing it back. Today, though, I came across OpenGrok which appears to be a far more modern implementation of the ...
    Michael MacleanMichael Maclean
    Dec 27, 2009 at 9:18 pm
    Dec 28, 2009 at 12:20 pm
  • Can anyone think of a situation where you actually want our current ignore_user_abort=false setting for the cli sapi? -Rasmus
    Rasmus LerdorfRasmus Lerdorf
    Dec 23, 2009 at 8:27 am
    Dec 23, 2009 at 5:34 pm
  • Hi, is it intended to have different behaviours of is_a() and instanceof? Let's assume you have the following code snippets: class foo{} class baz{} //<-you have a typo here, want to write bar ...
    Johannes MuellerJohannes Mueller
    Dec 19, 2009 at 12:42 am
    Dec 19, 2009 at 7:29 pm
  • Hi, In the description of ssh2_shell, there's: "Open a shell at the remote end and allocate a stream for it." So the result of this command must be a stream. Well, it's good, I'll use fgets, fwrite ...
    Samuel ROZESamuel ROZE
    Dec 1, 2009 at 9:19 pm
    Dec 2, 2009 at 12:33 pm
  • Hello, sorry, but i can not leave comments to Bugs with status Bogus: http://bugs.php.net/bug.php?id=48843 Is this Bug really fixed/complete discovered ? In 5.3.1 my logfile is still flooded with ...
    Andre HübnerAndre Hübner
    Dec 28, 2009 at 10:23 am
    Dec 28, 2009 at 12:16 pm
  • PHP 6 Bug Database summary - http://bugs.php.net/ Num Status Summary (107 total -- which includes 46 feature requests) ===============================================[*General Issues]============== ...
    InternalsInternals
    Dec 7, 2009 at 10:00 am
    Dec 28, 2009 at 10:00 am
  • PHP 5 Bug Database summary - http://bugs.php.net/ Num Status Summary (1561 total -- which includes 1006 feature requests) ===============================================[*Directory/Filesystem ...
    InternalsInternals
    Dec 7, 2009 at 9:30 am
    Dec 28, 2009 at 9:30 am
  • Hi guys, With new namespace inclusions, standards group releasing a common autoloader, etc, I'm felling the necessity of something. Basically, I'm suggesting to follow the same way SplFileInfo does, ...
    Guilherme BlancoGuilherme Blanco
    Dec 17, 2009 at 4:19 pm
    Dec 17, 2009 at 11:52 pm
  • Hello, I am trying to use ChoiceFormat in the Intl extension. When I try to do something like: $r = new MessageFormatter("en", "There are {0≤are no files|1≤is one file|1<are many files} ok"); // $r ...
    Chris StocktonChris Stockton
    Dec 9, 2009 at 8:38 pm
    Dec 11, 2009 at 4:45 am
  • Hi there, I've tried to come up with a solution for Formatting option for json_encode http://bugs.php.net/bug.php?id=44331 Any comments are highly welcome :) the patch is against the PHP_5_3 branch ...
    Florian AnderiaschFlorian Anderiasch
    Dec 9, 2009 at 9:54 pm
    Dec 9, 2009 at 10:18 pm
  • Hello, I'm working on the use of a PHP SSH2 Stream returned by ssh2_shell function with stream_select() function. Within the PHP code, before being used into the select() C function, a stream have to ...
    Samuel ROZESamuel ROZE
    Dec 4, 2009 at 11:01 pm
    Dec 5, 2009 at 5:13 pm
  • Hi, I'm not a C developer, so I can't really help with the attached patch. However, I've tried it with PHP 5.3.0 version I have and it does what it claims, that is, it gives correct behaviour for the ...
    X RylX Ryl
    Dec 22, 2009 at 3:10 pm
    Dec 22, 2009 at 8:51 pm
  • hi tony, this patch correct a behaviour that could happened randomly, depending on the event lib used (epoll, poll, kqueue, ...). There is some case in which an event created by the parent process ...
    Jérôme LoyetJérôme Loyet
    Dec 16, 2009 at 3:33 pm
    Dec 16, 2009 at 4:30 pm
  • Hi I just figured out a bug with epoll on the last php-fpm version from svn. It seems that with epoll only (no problem with poll or select -- don't have a freebsd ready to check kqueue), the ...
    Jérôme LoyetJérôme Loyet
    Dec 15, 2009 at 4:08 pm
    Dec 15, 2009 at 7:55 pm
  • Hi all, I spent some time working on the missing apache_like feature in FPM. The attached patch is the first version and is for testing. Changes: 1- rename apache_like to dynamic (in conf file and in ...
    Jérôme LoyetJérôme Loyet
    Dec 13, 2009 at 7:06 pm
    Dec 14, 2009 at 2:49 pm
  • Hello, I'm trying to alter existing PHP code by transforming its AST. From what I've read, the Zend Engine does a one-pass compile and thus offers no way to access the AST. (Whether this is a good or ...
    Raphael PigullaRaphael Pigulla
    Dec 2, 2009 at 5:35 pm
    Dec 8, 2009 at 8:29 am
  • Hi, last time such an issue was reported it was decided to allow to define "anything". Should we make a special case only for '::'? - Why not '- ' or any other operator? Last time it was about ...
    Johannes SchlüterJohannes Schlüter
    Dec 30, 2009 at 7:42 pm
    Dec 31, 2009 at 7:34 pm
  • Hi! As of now, zend_parse_method_parameters_ex does ignore the ex-flags if called in a procedural context. NB: Calling it in a procedural context is explicitely handled in the code! It's not a false ...
    Hans-Peter OeriHans-Peter Oeri
    Dec 23, 2009 at 12:05 pm
    Dec 24, 2009 at 12:15 am
  • There is a bug in fpm_main.c. After accepting a request, it's initialized and SG(request_info).path_translated must be set. If it's not set (NULL) nothing is done and the php_execute_script is called ...
    Jérôme LoyetJérôme Loyet
    Dec 16, 2009 at 5:13 pm
    Dec 16, 2009 at 5:53 pm
  • Hi tony, here is a patch which makes php-fpm consistent about command line arguments. As php-fpm won't handle file execution from command line, it's not necessary to let extra or wrong arguments to ...
    Jérôme LoyetJérôme Loyet
    Dec 16, 2009 at 3:20 pm
    Dec 16, 2009 at 3:52 pm
  • Hi tony, in the FPM error_log, the function and the line, from which the log function is called, are written to the error_log as show above: Dec 13 17:30:18.81042 [NOTICE] fpm_event_init_main(), line ...
    Jérôme LoyetJérôme Loyet
    Dec 13, 2009 at 4:39 pm
    Dec 13, 2009 at 5:20 pm
  • Hi tony, There is a small bug when fpm is not daemonized. In this case, the log_level is not set and the default (notice) is used. When the damonize option is used, it works well. The patch attached ...
    Jérôme LoyetJérôme Loyet
    Dec 13, 2009 at 4:19 pm
    Dec 13, 2009 at 5:18 pm
  • Now, I'll take some blame here for not being involved over the past couple years and having not noticed this inanity sooner, but could someone explain this cluster-f? ...
    Sara GolemonSara Golemon
    Dec 9, 2009 at 6:37 pm
    Dec 9, 2009 at 8:39 pm
  • I'm seeing some GC-related segfaults in current PHP_5_3. I haven't had time to dive into it very far. All I have is a couple of bts and the request that triggers it, but it is a gallery2 request and ...
    Rasmus LerdorfRasmus Lerdorf
    Dec 6, 2009 at 6:14 am
    Dec 7, 2009 at 3:24 pm
  • Hi Ilia, Cc-ing internals Il 30/12/2009 15:39, Ilia Alshanetsky ha scritto: Thanks for your quick reply. I've committed the changes. Now it'd be great to get someone to review the changeset just to ...
    Matteo BeccatiMatteo Beccati
    Dec 30, 2009 at 5:39 pm
    Dec 30, 2009 at 5:39 pm
  • Hi! As some already know, I'm using the holidays to prepare a proposal for error handling in extensions (https://saintcyr.oeri.ch/trac/php-intl/wiki/ErrorHandling). Digging through many zend ...
    Hans-Peter OeriHans-Peter Oeri
    Dec 27, 2009 at 4:02 pm
    Dec 27, 2009 at 4:02 pm
  • The first release candidate of 5.3.2 was just released for testing and can be downloaded here: http://downloads.php.net/johannes/php-5.3.2RC1.tar.bz2 MD5 (php-5.3.2RC1.tar.bz2) = ...
    Johannes SchlüterJohannes Schlüter
    Dec 22, 2009 at 11:48 pm
    Dec 22, 2009 at 11:48 pm
  • I am part of the team developing a PHP runtime for IBM's ProjectZero (www.projectzero.org). As part of this work we are developing a large number of new PHPT tests, as well as some backports/fixes to ...
    Wayne AndrewsWayne Andrews
    Dec 18, 2009 at 11:59 am
    Dec 18, 2009 at 11:59 am
  • The PHP development team would like to announce the immediate availability of PHP 5.2.12. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, some of which ...
    Ilia AlshanetskyIlia Alshanetsky
    Dec 17, 2009 at 3:15 pm
    Dec 17, 2009 at 3:15 pm
  • Contribute in sapi/fpm in order not to bother tony2001
    Jérôme LoyetJérôme Loyet
    Dec 17, 2009 at 10:04 am
    Dec 17, 2009 at 10:04 am
  • Contributing to a proof-of-concept branch for the PHP website.
    Stewart LordStewart Lord
    Dec 15, 2009 at 9:13 am
    Dec 15, 2009 at 9:13 am
  • Hi, On non x86_64 platforms current implementation of safe_address uses doubles for 64 bit php which is very expensive on some architectures e.g sparc. safe_address function calculates nmemb * size + ...
    Basant KukrejaBasant Kukreja
    Dec 15, 2009 at 2:23 am
    Dec 15, 2009 at 2:23 am
  • Hi tony, in the FPM config.m4 the command "find" is used to find source file: PHP_FPM_FILES=`cd $abs_srcdir/sapi/fpm && find fpm/ \( -name *.c -not -name fpm_trace*.c \) -exec printf "{} " \;` But ...
    Jérôme LoyetJérôme Loyet
    Dec 13, 2009 at 10:06 pm
    Dec 13, 2009 at 10:06 pm
  • Hi Tony The attached patch correct some typo in fpm: replacing spaces by tabs as in all files in fpm. ++ Jerome
    Jérôme LoyetJérôme Loyet
    Dec 13, 2009 at 5:34 pm
    Dec 13, 2009 at 5:34 pm
  • The fourth release candidate of 5.2.12 was just released for testing and can be downloaded here: http://downloads.php.net/ilia/php-5.2.12RC4.tar.bz2 (md5sum: b7950cb299adaf5afd9debf280cd1f6c) The ...
    Ilia AlshanetskyIlia Alshanetsky
    Dec 10, 2009 at 9:15 pm
    Dec 10, 2009 at 9:15 pm
  • Hi everyone. I have some changes for persistent curl handles. I think this should improve performance. If you agree, please review the code for correctness and perhaps consider adding it to the cURL ...
    Joseph MarreroJoseph Marrero
    Dec 5, 2009 at 6:30 pm
    Dec 5, 2009 at 6:30 pm
Group Navigation
period‹ prev | Dec 2009 | next ›
Group Overview
groupphp-internals @
categoriesphp
discussions51
posts335
users85
websitephp.net

85 users for December 2009

Jérôme Loyet: 30 posts Stanislav Malyshev: 26 posts Michael Shadle: 23 posts Pierre Joye: 20 posts Antony Dovgal: 14 posts Johannes Schlüter: 10 posts Ilia Alshanetsky: 9 posts Rasmus Lerdorf: 9 posts Internals: 8 posts Ferenc Kovacs: 7 posts Jvlad: 6 posts Lukas Kahwe Smith: 6 posts Richard Lynch: 6 posts Richard Quadling: 6 posts Samuel ROZE: 6 posts Tjerk Anne Meesters: 6 posts Hans-Peter Oeri: 5 posts Jess Portnoy: 5 posts Mm w: 5 posts Alexey Zakhlestin: 4 posts
show more
Archives