Re: [PHP-DEV] Re: Move internals discussion to a better medium

2015-08-03 Thread Kevin Ingwersen (Ingwie Phoenix)
On Mo. Aug. 03 2015 10:40:14 Lester Caine wrote: > On 03/08/15 01:23, Stephen Coakley wrote: >> I don't mean to sound rude, but when have you ever *needed* to access a >> really old message while simultaneously not having Internet access? I >> just can't imagine needing to do such a thing. Not sayi

[PHP-DEV] Blocked/Non-blocked streams bug

2015-04-20 Thread Kevin Ingwersen (Ingwie Phoenix)
Hello everyone- While looking at a project I was considering to use, I found that the README mentioned a bug for http://php.net/stream_set_blocking . The bug only talks about the Windows version of PHP, where the switching appearantly does not work Turns out I got the same result. The code that

[PHP-DEV] Strange behaviour on upload

2015-03-29 Thread Kevin Ingwersen (Ingwie Phoenix)
Hey. I am running my PHP app through a NodeJS server using a FastCGI bridge. Today, I was about to implement an image uploader on my site - only to realize that file uploads were not possible. So I generated a few files and tested how big the files must be for the upload to fail. I got surpris

Re: [PHP-DEV] [RFC] Script only include/require

2015-02-25 Thread Kevin Ingwersen (Ingwie Phoenix)
Here are my cents to this RFC, as it just keeps popping in in my inbox and its beginning to be one that I wish I could ignore. First, … file extensions? A default Apache configuration and some Nginx configurations actually accept more than one file extension. This RFC does not include any way t

Re: [PHP-DEV] New SAPI development

2015-02-23 Thread Kevin Ingwersen (Ingwie Phoenix)
Hey. Here are the references that I will be using when I get to develop on my own SAPI - that is, if I stop being ill… - https://github.com/johannes/pconn-sapi - http://www.phpreferencebook.com/html-version/

Re: [PHP-DEV] Casting a PHP type, new SAPI

2015-01-22 Thread Kevin Ingwersen (Ingwie Phoenix)
> Am 20.01.2015 um 23:11 schrieb Johannes Schlüter : > > Hi, > > On Tue, 2015-01-20 at 06:36 +0100, Kevin Ingwersen (Ingwie Phoenix) > wrote: >> Today I have started to concept a new SAPI which I have wanted to do >> in quite a while now. To learn more, here is a

[PHP-DEV] Casting a PHP type, new SAPI

2015-01-19 Thread Kevin Ingwersen (Ingwie Phoenix)
Good morning, everyone. Today I have started to concept a new SAPI which I have wanted to do in quite a while now. To learn more, here is a README: https://github.com/IngwiePhoenix/php-jrp/blob/master/README.md But in order for m

Re: [PHP-DEV] PHP 7 and json

2014-12-14 Thread Kevin Ingwersen (Ingwie Phoenix)
I don’t know if you are interested in some other open source projects that parse JSON, but have you looked at the decoder here? https://github.com/vstakhov/libucl It can parse more than just the JSON format - but it has some JSON benchmarks attached and work

[PHP-DEV] How are plugins built on OS X?

2014-11-07 Thread Kevin Ingwersen (Ingwie Phoenix)
Hey. While I am creating a small build tool and learning more about Clang/GCC and the various linkers, I came across the differences between shared/dynamic libraries, plugins and executables on the various platforms. That made me wonder, how PHP’s plugins are compiled. For instance, if one had

Re: [PHP-DEV] ArrayPath

2014-10-07 Thread Ingwie Phoenix
Am 07.10.2014 um 18:05 schrieb Mathias Grimm : > Hi, > I would like to suggest something for php like a class I am using > > https://github.com/mathiasgrimm/arraypath > > The reason is to access arrays like this: > > $idx3 = ArrayPath::get('idx1/idx2/idx3', $_POST, 'myDefaultValue'); > > > Re

Re: [PHP-DEV] [PHP7] Remove the function keyword from class methods?

2014-10-04 Thread Ingwie Phoenix
Am 05.10.2014 um 00:10 schrieb Kris Craig : > On Oct 4, 2014 11:24 AM, "Thomas Gossmann" wrote: >> >> Thanks Johannes, I slipped over it but would have never found the > discussion to it. >> >> I run over it and the summary is: Many people like it and those that > don't have brought arguments,

Re: [PHP-DEV] [PHP7] Remove the function keyword from class methods?

2014-10-03 Thread Ingwie Phoenix
Am 03.10.2014 um 19:38 schrieb Levi Morrison : > On Fri, Oct 3, 2014 at 10:21 AM, Thomas Gossmann > wrote: > >> Hey there, >> >> I'm just a php developer, thus not even having a php.net account. >> >> I was wondering if it is possible to deprecate/remove the function keyword >> from class met

[PHP-DEV] Custom build rule

2014-08-02 Thread Ingwie Phoenix
Hello internals! I have almost completed a SAPI, that allows NodeJS scripters to enable PHP from within their HTTP servers. Originally, I wanted to write this extension just for my own use, but as I see the many „dirty“ hacks that people use to run PHP inside their http server, I decided to ma