FAQ

Search Discussions

94 discussions - 1,101 posts

  • I have written an RFC proposing backwards-compatible support for source files without an opening <?php tag: https://wiki.php.net/rfc/source_files_without_opening_tag This RFC is not yet listed at ...
    Tom BoutellTom Boutell
    Apr 8, 2012 at 4:32 pm
    Apr 10, 2012 at 8:44 pm
  • Now that the flamewar has died down a little I'd like to try to have a civil discussion about this idea - *without* my admittedly inflammatory suggestion to kill <?php altogether. So here is what I ...
    Tom BoutellTom Boutell
    Apr 7, 2012 at 1:26 pm
    Apr 9, 2012 at 8:52 pm
  • Hi! One of the annoying things I've encountered in working with PHP was dealing with functions having long optional parameter lists, especially if you need to change only the last one - you have to ...
    Stas MalyshevStas Malyshev
    Apr 17, 2012 at 10:54 pm
    Jan 28, 2013 at 7:29 pm
  • Hi all, This is the RFC as in the title. Although it's not a direct security measure, but it's related to critical security problem prevention. If you are not familiar to how to execute arbitrary PHP ...
    Yasuo OhgakiYasuo Ohgaki
    Apr 10, 2012 at 8:00 am
    May 5, 2012 at 4:38 pm
  • Per recent discussions, I have drafted an RFC for this. This proposal offers what I believe to be a more sane and realistic approach to addressing the question of incorporating a new breed of ...
    Kris CraigKris Craig
    Apr 12, 2012 at 11:03 pm
    Apr 16, 2012 at 11:34 pm
  • Hi folks, today I read this post, I think that some points are valid, follow the link for you guys http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ Adir Kuhn ZCE - Zend Certified ...
    Adir KuhnAdir Kuhn
    Apr 10, 2012 at 4:21 pm
    May 9, 2012 at 8:09 am
  • Hi all, There are many different use cases were in code we expect classes names as arguments to functions as fully qualified names. We do this in ZF a lot with our Service Location and DI components, ...
    Ralph SchindlerRalph Schindler
    Apr 14, 2012 at 7:50 pm
    Sep 8, 2012 at 7:27 pm
  • Hi, I sent an email last year about this issue, but it got sidetracked (partly it was my fault): http://www.mail-archive.com/[email protected]/msg54267.html So this time, I would like focusing ...
    Ferenc KovacsFerenc Kovacs
    Apr 16, 2012 at 8:14 am
    Mar 2, 2013 at 8:08 am
  • hi! Without willing to end discussions prematurely, it looks to me that everything possible have been said about the various opening tags proposals. For one, I do not follow any of these discussions ...
    Pierre JoyePierre Joye
    Apr 15, 2012 at 10:47 am
    Apr 16, 2012 at 11:11 pm
  • Hey internals! Currently the empty() language construct only works on variables. You can write if (empty($array)) but not empty if (empty(getSomeArray()). The original reason for this restriction ...
    Nikita PopovNikita Popov
    Apr 10, 2012 at 10:53 pm
    May 5, 2012 at 3:48 pm
  • Hi internals! As per the comments I created an RFC, proposing to allow arbitrary expressions to be passed to empty() and isset(): https://wiki.php.net/rfc/empty_isset_exprs The patch is available as ...
    Nikita PopovNikita Popov
    Apr 12, 2012 at 9:42 pm
    May 5, 2012 at 12:22 pm
  • Hi! 5.4.1 will be the first release we're releasing using our new git setup. I would like to refine a process that we used to have for releases and make small tweaks hopefully to allow us more ...
    Stas MalyshevStas Malyshev
    Apr 9, 2012 at 6:54 am
    May 5, 2012 at 5:30 pm
  • Hi, This post is about bug #18556 (https://bugs.php.net/bug.php?id=18556) which is a decade old. As the recent comments on that page indicate, there's not a deterministic way to resolve this issue, ...
    C.KoyC.Koy
    Apr 20, 2012 at 10:25 am
    Apr 23, 2012 at 10:23 am
  • That was my reaction as well. Why someone would spend this much time and documentation on such a trivial issue, I'm at a loss. Don't we have bigger fish to fry? This is what I was thinking, plus ...
    Rasmus SchultzRasmus Schultz
    Apr 14, 2012 at 8:35 pm
    Apr 15, 2012 at 11:50 pm
  • Please see: https://wiki.php.net/rfc/source_files_without_opening_tag After following the discussion I have updated the RFC with the following major changes: * Forbade the use of ? entirely in "pure ...
    Tom BoutellTom Boutell
    Apr 10, 2012 at 11:53 pm
    Apr 13, 2012 at 2:21 am
  • So, I've been reading articles for a decade now that say that readfile() is great and wonderful except for memory usage. Specifically, that it reads a file into memory entirely, and then prints it to ...
    Larry GarfieldLarry Garfield
    Apr 30, 2012 at 5:22 am
    May 11, 2012 at 10:02 am
  • I'm curious to know the benefits of this. Care to explain why or when this would be useful? Dmitri Snytkine Web Developer Ultra Logistics, Inc. Phone: (888) 220-4640 x 2097 Fax: (888) 795-6642 ...
    Dmitri SnytkineDmitri Snytkine
    Apr 12, 2012 at 4:11 pm
    Apr 14, 2012 at 8:34 pm
  • IMHO, PHP is a great template language. This is what makes it so simple and powerful, compared to other web languages. So far, we have "<?php", "<?=" and various legacy syntaxes like "<?". A ...
    Sébatien DurandSébatien Durand
    Apr 6, 2012 at 3:15 am
    Apr 7, 2012 at 7:13 pm
  • I was just reading about the new async/await keywords in C# 5.0, and while this has no particular relevance to PHP as such, it got me thinking about this idea... What if you could resume execution ...
    Rasmus SchultzRasmus Schultz
    Apr 2, 2012 at 12:44 pm
    Apr 6, 2012 at 1:59 pm
  • I've spent the last few days pouring over the Zend engine source code. I think I have a basic understanding on the memory management. Likely what I say may be incorrect, so I apologize in advance ...
    Luke ScottLuke Scott
    Apr 6, 2012 at 11:45 pm
    Apr 10, 2012 at 9:51 am
  • hi! Before I go with a RFC and all that, I would like to check the current feeling about killing ext/imap. The c-client project is dead since quite some time already. I do not see any viable ...
    Pierre JoyePierre Joye
    Apr 27, 2012 at 1:49 pm
    Jan 31, 2014 at 9:03 am
  • Number of posts to internals since Jan.1,2012 (top 15): [[email protected]] = 249 [[email protected]] = 193 [[email protected]] = 146 [[email protected]] = 105 [[email protected]] = 98 ...
    Rasmus LerdorfRasmus Lerdorf
    Apr 17, 2012 at 6:58 am
    Apr 18, 2012 at 3:32 pm
  • Hi guys, I wanted just ask about the latest fileinfo fixes as I see so far nothing was merged. This fixes should be merged into the current 5.3.11 and 5.4.1 branches. The info about the changes is in ...
    Anatoliy BelskyAnatoliy Belsky
    Apr 10, 2012 at 11:24 am
    Apr 11, 2012 at 5:40 am
  • You've misunderstood me. While you may have set out with the goal of discussing making PHP completely case-sensitive, that doesn't preclude others from suggesting fixes for the specific bug you ...
    Galen Wright-WatsonGalen Wright-Watson
    Apr 23, 2012 at 11:07 pm
    May 5, 2012 at 11:31 pm
  • I always wondered why can't we do something like this in php class MyClass{ private $storage = new ArrayObject(); public function __construct($v){ // whatever } // rest of class } Why can't we create ...
    Dmitri SnytkineDmitri Snytkine
    Apr 13, 2012 at 7:19 pm
    Apr 19, 2012 at 8:27 am
  • Hi: I have made a RFC to allow user use T_AS in the closure declaration, like: function () use($long as $l, &$long as $r) { } here is the RFC: https://wiki.php.net/rfc/useas any ideas? thanks -- ...
    LaruenceLaruence
    Apr 12, 2012 at 3:38 pm
    Apr 13, 2012 at 6:42 pm
  • The only "open comments" I have on this project is the "read-only" and "write-only" keywords. Are the dashes acceptable or undesirable? write-only was not in the original RFC but made sense to have ...
    Clint M PriestClint M Priest
    Apr 20, 2012 at 2:10 am
    Jul 16, 2012 at 9:27 pm
  • Hi I have exposed ICU's Calendar API to PHP via the intl extension. It allows date calculations with Gregorian, Chinese, Coptic, Ethiopic, Hebrew, Indian, Islamic (civil/religious), Japanese, ...
    Gustavo LopesGustavo Lopes
    Apr 2, 2012 at 8:35 am
    Apr 19, 2012 at 6:16 pm
  • Hi, I wrote a RFC that proposes removal of PHP tags. There is actually strong public demand for it, and I also think it is necessary to leverage PHP to a genuine, modern scripting language ...
    Moriyoshi KoizumiMoriyoshi Koizumi
    Apr 1, 2012 at 2:00 am
    Apr 1, 2012 at 2:54 pm
  • I've updated the RFC to include details on adding isset/unset as well as references, detailed below: isset/unset: class TimePeriod { private $Seconds = 3600; public $Hours { get { return $this- ...
    Clint M PriestClint M Priest
    Apr 24, 2012 at 12:31 pm
    Apr 25, 2012 at 6:52 am
  • Hi internals! The internal is_numeric_string [1] function is used to check whether a string contains a number (and to extract that number). Currently is_numeric_string also accepts hexadecimal ...
    Nikita PopovNikita Popov
    Apr 17, 2012 at 11:20 am
    Apr 17, 2012 at 9:41 pm
  • There has been talk of making PHP a better templating language. After all, it did start out there. Folks have mentioned ideas like making it easier to output escaped content, etc., but these are all ...
    Tom BoutellTom Boutell
    Apr 9, 2012 at 3:10 pm
    Apr 10, 2012 at 8:14 am
  • Hi all, I finally found some time today to update the RFC based on discussions here. Please have a look and let me know if I missed anything or if there's anything else that needs clarifying ...
    Kris CraigKris Craig
    Apr 24, 2012 at 7:53 pm
    Apr 25, 2012 at 1:09 am
  • Something for the weekend (flamewar) http://www.reddit.com/r/programming/comments/s6477/9223372036854775807_9223372036854775808/ http://news.ycombinator.com/item?id=3832069
    Marius adrian popaMarius adrian popa
    Apr 13, 2012 at 9:40 am
    Apr 17, 2012 at 5:43 pm
  • Please bear with me as I am going to address a few things that (being new) I seem to have over looked upon my initial pull request @ https://github.com/php/php-src/pull/21. I have forked and ...
    Jason GerfenJason Gerfen
    Apr 3, 2012 at 10:47 am
    Apr 12, 2012 at 3:26 am
  • I'm having some trouble setting up the re2c to allow the isset/unset. Here are the definitions, I've added the two T_ISSET statements: ------------------------------------------------------------ ...
    Clint PriestClint Priest
    Apr 26, 2012 at 3:41 am
    May 7, 2012 at 11:07 pm
  • Hi, I suggest we add a function boolval(). It simply converts the given argument to a boolean, like strval(), intval() and floatval(). I already have an implementation ready[1]. Why? * It is missing ...
    Jille TimmermansJille Timmermans
    Apr 27, 2012 at 8:14 pm
    Apr 30, 2012 at 2:48 am
  • Heya, It appears that many extensions do not expose proper version information. Here an abstract of the various things I found using the following script: $ for i in `php -m`; do php --re $i | grep ...
    Jordi BoggianoJordi Boggiano
    Apr 23, 2012 at 2:47 pm
    Apr 26, 2012 at 2:50 pm
  • Hi all, I'm actually putting my head into ext/mysqlnd and I noticed weird things about its API. As you should know, ext/mysqlnd is a replacement for libmysql, that is, all our 3 MySQL-related ...
    JpauliJpauli
    Apr 24, 2012 at 11:35 am
    Apr 24, 2012 at 5:08 pm
  • Hi, This is my first extension I'm working on. I'm trying to make a class available to the user space with 1 private property that is an array. I posted my source and question here ...
    Matthew HernandezMatthew Hernandez
    Apr 7, 2012 at 6:23 pm
    Apr 8, 2012 at 8:00 pm
  • I just saw Daniel changing some of the PEAR classes to use Exceptions, and it's pretty clear that this could cause havoc with the end users. The problem being that there is no 'soft' landing for the ...
    Alan KnowlesAlan Knowles
    Apr 4, 2012 at 2:02 am
    May 22, 2012 at 9:32 pm
  • Hello everyone, The following bug report brings up a good point: https://bugs.php.net/61784 The get_magic_quotes_gpc() function returns 0/1 before 5.4, but now it returns boolean false. Instead it ...
    Philip OlsonPhilip Olson
    Apr 24, 2012 at 3:29 pm
    Apr 25, 2012 at 12:29 am
  • Hey there, due to the widespread acceptance of binary number format (0b1010101) and the growing demand for backwards compatibility I've started to work on support for Roman Numerals (I, II, III, ...) ...
    Florian AnderiaschFlorian Anderiasch
    Apr 1, 2012 at 12:19 pm
    May 25, 2012 at 5:11 am
  • Hello, I found this zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TSRMLS_DC) and many examples using it. I can successfully call this and it will call the user function ...
    Yader HernandezYader Hernandez
    Apr 27, 2012 at 4:43 am
    Apr 28, 2012 at 10:41 pm
  • Stas: Just b/c there are rarely any women at all that participate on this list, could we at list maintain a facade of gender neutrality? I seriously can't believe that you used the word "him". What ...
    Slevy1Slevy1
    Apr 17, 2012 at 3:42 am
    Apr 17, 2012 at 8:09 pm
  • Hi folks, I'm attempting to create an RFC on wiki.php.net but I don't get a "create this page" button. Is this the right place for me to start an RFC? Thanks. -- Tom Boutell P'unk Avenue 215 755 1330 ...
    Tom BoutellTom Boutell
    Apr 8, 2012 at 2:22 pm
    Apr 8, 2012 at 8:56 pm
  • Hello, The removal of sqlite in PHP 5.4 has not been thoroughly thought through. In the documentation it says it has been moved to PECL. Then you go to PECL and the only thing you find is the version ...
    Helmut TessarekHelmut Tessarek
    Apr 1, 2012 at 7:47 am
    Apr 1, 2012 at 9:29 am
  • Is this intentional? buildconf: You need autoconf 2.59 or lower to build this version of PHP. You are currently trying to use 2.68 Most distros have separate autoconf 2.13 or 2.59 packages. On ...
    Sebastian BergmannSebastian Bergmann
    Apr 29, 2012 at 11:19 am
    Apr 29, 2012 at 1:20 pm
  • Hi, the topic of variable argument-lists for functions in connection with getting the parameters by reference came up. This is currently not possible with func_get_args(), though a "hack" with ...
    Stefan NeufeindStefan Neufeind
    Apr 17, 2012 at 10:02 pm
    Apr 18, 2012 at 6:46 am
  • Hi! As one, I have regular small but annoying issues with git. No big deal or stoppers but they are mostly due to my lack of clue. Following a little bit the questions and discussions on IRC, it ...
    Pierre JoyePierre Joye
    Apr 13, 2012 at 9:31 am
    Apr 14, 2012 at 9:25 am
Group Navigation
period‹ prev | Apr 2012 | next ›
Group Overview
groupphp-internals @
categoriesphp
discussions94
posts1,101
users145
websitephp.net

145 users for April 2012

Kris Craig: 109 posts Stas Malyshev: 95 posts Yasuo Ohgaki: 91 posts Tom Boutell: 79 posts Luke Scott: 48 posts Pierre Joye: 45 posts Ferenc Kovacs: 30 posts Nikita Popov: 30 posts Arvids Godjuks: 26 posts Johannes Schlüter: 20 posts Gustavo Lopes: 18 posts Ralph Schindler: 18 posts Lester Caine: 17 posts Ángel González: 16 posts Laruence: 16 posts Matthew Weier O'Phinney: 16 posts Rasmus Lerdorf: 16 posts Anthony Ferrara: 14 posts John Crenshaw: 13 posts Sherif Ramadan: 12 posts
show more
Archives