[PHP-DEV] 5.3.8, Why is func_num_args() not working on a Clusure?

2011-12-20 Thread Mark
ing that i wonder... I would have expected num args to return the args of the function you provide it.. Kind regards, Mark

Re: [PHP-DEV] Why are the PHP namespaces different compared to C++?

2012-09-07 Thread Mark
those in C++. If that's not the case then it shouldn't even carry the "namespace" name. To me this namespace in php stuff just looks like and alias. So why isn't it named as that: "alias"? I do not want to question the ones that implemented namespaces in php

Re: [PHP-DEV] Why are the PHP namespaces different compared to C++?

2012-09-07 Thread Mark
On Fri, Sep 7, 2012 at 8:29 PM, Stas Malyshev wrote: > Hi! > >> Back on the namespace topic. I won't judge on anything, but i know >> namespaces from c++. I understand that PHP isn't a compiled language >> and quite frankly that doesn't matter at all. What does matter is that >> PHP uses the name:

[PHP-DEV] Classes userland lookup (with namespaces)

2008-09-24 Thread Mark
return; } normal_autoload($class); } (and it could be even worse, if for example overload is not only for one namespace but for random class names). By the way dynamic class lookup is something only runtime languages like PHP can do, so don't try to compare this to anything found in C++/Java/etc (or any other compiled language). Best regards, Mark Karpeles -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Classes userland lookup (with namespaces)

2008-09-25 Thread Mark
the magic function isn't defined either, I guess calling it __resolveclass() would be better than __resolve(), but I was hoping to get some answers from the list. Mark Le jeudi 25 septembre 2008 à 07:26 +0200, Mark a écrit : > Hi, [...] > > Best regards, > Mark Karpeles --

Re: [PHP-DEV] alpha3

2008-09-29 Thread Mark
::baz(); foo::bar:>baz(); In each call, you immediatly see the difference between the namespace part and the function/class part. The only part in the implementation which will become a bit more complex is to resolve a call from a namespace. Eg: namespace foo; bar:>baz(); bar::baz(); In t

RE: [PHP-DEV] namespaces and alpha3

2008-10-14 Thread Mark
few other ideas related to namespaces I posted here before, but got no feedback, so I'll just continue to use this in my own php versions; and that's all. Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Vote from a "Mere User"

2008-10-16 Thread Mark
migrating to a namespace-oriented code. This is also going to break things for some people who use require() in __autoload(). Mark Le vendredi 17 octobre 2008 à 13:18 +1030, Josh a écrit : > I'm another "mere user", but here are my votes > > Issue 1: Choice #3 &

[PHP-DEV] [PATCH] PHP 5.2.7rc2: a bug that I'd like to see fixed in 5.2.7

2008-11-05 Thread Mark
e this is due to the fact the bugtracker isn't able to accept unicode characters, and converted my input to HTML gibberish. The patch itself: http://ookoo.org/svn/snip/php-5.2.7rc2_wddx_utf8_resolved.patch Best regards, Mark -- PHP Internals - PHP Runtime Development Mailing Li

Re: [PHP-DEV] CVS Account Request: magicaltux

2008-11-16 Thread Mark
/bugs.php.net/46563) > > Have you contacted the Documentation team? Not yet, as those bugs are ones which I believe to be of lower priority; still it would be great if they could be fixed too, and I would be happy to do this. I was planning to start off here, then ask karma from the doc team

Re: [PHP-DEV] CVS Account Request: magicaltux

2008-11-18 Thread Mark
dx/ and I hope to be able to fix bug #46496 before 5.2.7 release. Best regards, Mark Karpeles Le mardi 18 novembre 2008 à 16:23 -0800, Andrei Zmievski a écrit : > Lukas Kahwe Smith wrote: > >> I also intend later (and after some discussions, if anyone has any > >> intere

Re: [PHP-DEV] [PHP-RFC] Property Accessors 1.2 : parent::$foo Issue

2013-01-13 Thread Mark
On Fri, Jan 11, 2013 at 8:08 AM, Stas Malyshev wrote: > Hi! > >> Re the ReflectionProperty::getParentProperty($this, 'foo') suggestion, >> is this supposed to already get the value of the property (and there >> would be an additional method ReflectionProperty::setParentProperty)? > > I meant getti

Re: [PHP-DEV] [VOTE] Property Accessors for 5.5

2013-01-23 Thread Mark
On Wed, Jan 23, 2013 at 2:28 AM, Anthony Ferrara wrote: > Rasmus, > > Now do 5 or even 10+ years and commits to Zend and APC. We are talking >> about a core language feature here, so commits to the code most affected >> is what you should be looking at and when I talk about maintenance I >> talk a

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-03-15 Thread Mark
ture" to php. It makes the code very vague to understand and specially if it's spread over multiple files. For example file_a.php has: $sayHi = { echo "hi"; }; Now lets say file_b.php has this: $sayHi(); This is just code obfuscation! Please don't add it. It would be neat as a code obfuscation technique :) Just my 5 cents. Cheers, Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Type hinting/casting request for vote

2009-07-08 Thread Mark
ing at the vast +1's) is going to be in php 6.0 but who knows when that's going to be released! I bet it's not this year and i doubt it will be anywhere in 2010 so that delays the adaption of this feature by that time + the time it takes hosts to get php 6.0 (which is between 1 an

[PHP-DEV] Function proposal: varset

2011-04-20 Thread Mark
w php function). If someone else wants to make the implementation, please be my guest :) So, what do you think of this? Regards, Mark

Re: [PHP-DEV] Function proposal: varset

2011-04-20 Thread Mark
On Wed, Apr 20, 2011 at 5:12 PM, Alain Williams wrote: > On Wed, Apr 20, 2011 at 04:55:00PM +0200, Mark wrote: > > Hi, > > > > This proposal is for the often called line like this: > > $var = isset($_GET['var']) ? $_GET['var'] : ''; >

Re: [PHP-DEV] Function proposal: varset

2011-04-20 Thread Mark
On Wed, Apr 20, 2011 at 6:00 PM, Jonathan Bond-Caron wrote: > On Wed Apr 20 10:55 AM, Mark wrote: > > > > function varset($arr, $key, $default = '') { return (isset($arr[$key]) > > ? $arr[$key] : $default); } > > > > where the call would be: > >

[PHP-DEV] Re: Function proposal: varset

2011-04-20 Thread Mark
On Wednesday, April 20, 2011, D. Dante Lorenso wrote: > On 4/20/11 9:55 AM, Mark wrote: > > Hi, > This proposal is for the often called line like this: > $var = isset($_GET['var']) ? $_GET['var'] : ''; > Only a shorter and imho a cleaner solu

Re: [PHP-DEV] Function proposal: varset

2011-04-27 Thread Mark
Any idea on how to progress with this idea? I certainly would like to see it in PHP 5.4 but i don't have the knowledge nor time to figure out the php internals (in C...) On Sat, Apr 23, 2011 at 4:04 AM, Ben Schmidt wrote: > yeah you are right, passing arguments by reference doesn't trigger the >>

[PHP-DEV] Should I report this bug/exploit?

2005-04-03 Thread Mark Krenz
me to this list for some advice on what I should do. Maybe I could at least email one of your privately so that you can see what it is. Thanks, Mark -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscri

Re: [PHP-DEV] Should I report this bug/exploit?

2005-04-03 Thread Mark Krenz
Is that a publically accessable mailing list or does it just go to a few people? On Mon, Apr 04, 2005 at 04:35:59AM GMT, Rasmus Lerdorf [EMAIL PROTECTED] said the following: > Such issues should be directed to [EMAIL PROTECTED] > > Mark Krenz wrote: > > Hi, I've been

Re: [PHP-DEV] PHP 5.1

2005-06-06 Thread Mark Krenz
another one. Seeing the potential damage of adding goto to > the language, I can only give it a -1. > > - Sascha > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Mark S. Krenz IT Director Su

Re: [PHP-DEV] Re: namespace separator ideas

2005-12-02 Thread Mark Spruiell
port nested namespaces. Do we need them? Nested namespaces are important if PHP is to support a natural mapping from interface definition languages such as CORBA IDL, which does allow arbitrarily nested namespaces. - Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Safe mode being removed in PHP6?

2007-11-05 Thread Mark Krenz
suso.org/xulu/Web_hosting_providers_with_poor_security), this will just make many more insecure as well. Even the ones that try at least somewhat to protect themselves. Mark On Mon, Aug 27, 2007 at 05:59:16AM GMT, Rasmus Lerdorf [EMAIL PROTECTED] said the following: > Mark Krenz wrote: &g

Re: [PHP-DEV] Safe mode being removed in PHP6?

2007-11-05 Thread Mark Krenz
ow I don't see any of that going on. PHP is just saying "Hey, we're dropping safe mode, deal with it." That is irresponsible. I'm not saying keep safe mode in PHP, I'm saying have a good plan for everybody and provide them with transition tools (like a setting

Re: [PHP-DEV] Safe mode being removed in PHP6?

2007-11-05 Thread Mark Krenz
uso.suso.org/xulu/Web_hosting_providers_with_poor_security Now do you have confidence in their security practices? Suso is secure with the exception of some of the more obscure flaws in safe mode. You can't read other people's files. I try not to don't rely on security by obscurity. I want to be ab

Re: [PHP-DEV] Safe mode being removed in PHP6?

2007-11-05 Thread Mark Krenz
ECTED] said the following: > Much easier and better to just throw every user their own virtual > machine. They can go wild and you don't have to worry. Makes it easy to > control how much CPU, RAM, and hdd the user is using too. > > -- > Michael McGlothlin > Southwest

Re: [PHP-DEV] Safe mode being removed in PHP6?

2007-11-05 Thread Mark Krenz
. Complexity would go way up as well as management time and I'd have to deal with users messing up their chroot environments. F. Try to get the mpm-itx setup working, but that's an unknown right now. I should have taken that sign more to heart that I read one time:

Re: [PHP-DEV] Safe mode being removed in PHP6?

2007-11-05 Thread Mark Krenz
n guide or something. Just let me know how I can help. Mark On Tue, Nov 06, 2007 at 03:13:36AM GMT, Peter Brodersen [EMAIL PROTECTED] said the following: > > It has earlier been stated that it would be a fine idea to unbundle > safe_mode_exec_dir from safe_mode: > > http://news

Re: [PHP-DEV] [RFC] Square brackets shortcut

2008-01-11 Thread Mark Dennehy
> >keys and values are separated by double arrows. > Breaks backwards compatibility to save typing five characters. See > above. -1. > It doesn't break backwards compatibility; the new syntax is an alias, not a replacement. The older array() syntax will still be in place, if I've understood the earlier posts correctly. -- Mark Dennehy

Re: [PHP-DEV] Array syntax []

2008-01-11 Thread Mark Dennehy
+1 -- Mark Dennehy

[PHP-DEV] Overloading

2008-06-19 Thread Tinsley, Mark
n('Unrecognized type: ' . get_class($Foo)); break; } call_user_func(array(self, $method), $Foo); } private static function fooFoo(FooClass $FooVar) { // do something } private static function fooBoo(BooClass $BooVar) {

RE: [PHP-DEV] Overloading

2008-06-20 Thread Tinsley, Mark
ee it as a very helpful addition and can't see a reason why we could not add it. Mark -Original Message- From: Saulo Vallory [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 11:12 AM To: internals Mailing List Subject: Re: [PHP-DEV] Overloading I'm developing a PHP framewo

RE: [PHP-DEV] Overloading

2008-06-25 Thread Tinsley, Mark
Thank you Lukas. Mark Tinsley Developer Dallas Airmotive (214) 353-6739 [EMAIL PROTECTED] -Original Message- From: Lukas Kahwe Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 9:51 AM To: Marcus Boerger Cc: Tinsley, Mark; internals@lists.php.net Subject: Re: [PHP-DEV

[PHP-DEV] CVS Account Request: magicaltux

2008-11-16 Thread Mark Karpeles
As most my [PATCH] mails sent to the internals mailing list were ignored (as of today, at least), I'm requesting an access to the PHP CVS, fully aware of what this means. My contributions (ordered by priority) would include: - The WDDX extension (http://bugs.php.net/46496) - The OpenSSL extensio

[PHP-DEV] [PATCH] ext/curl: fix for bug #46711

2008-11-29 Thread Mark Karpeles
ch proposed to bug #46711 commited (with its test). Best regards, Mark Karpeles -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Removing basic types from our JSON parser

2008-12-12 Thread Mark Karpeles
ll break PHP code on one side, but will break on browser stuff on the other side. I guess making 5.3 throwing E_WARNING (or E_DEPRECATED, if someone reads it) and removing this support in HEAD could be the default behaviour based on how we handled most features we wanted to remove when people starte

Re: [PHP-DEV] json_encode()

2008-12-15 Thread Mark Karpeles
e() for MSIE, I was doing json with that even before json existed). I'm in favour of #1. Lazy mode is "not that good", as it's going to break things anyway by silently doing magic stuff the final developer didn't expect because it didn't happen in previous versio

Re: [PHP-DEV] FD_SETSIZE limitation

2009-02-19 Thread Mark Karpeles
I mean) as using select() can become a problem when you want to handle a *lot* of clients. I am a bit demotivated, however if there is interest into this, or even if it can make it into ext/stream, I would be more than happy to finish/release that. Mark Le vendredi 20 février 2009 à 12:02 +0

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Mark Krenz
On Tue, Apr 14, 2009 at 03:11:10PM GMT, Arvids Godjuks [arvids.godj...@gmail.com] said the following: > > Yes, it's really irritating to write http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] Bug #44780 some time zone offsets not recognized by timezone_name_from_abbr

2009-05-08 Thread mark burdett
zones!), and uses the new spelling for Calcutta (Kolkata). --mark Index: ext/date/lib/fallbackmap.h === RCS file: /repository/php-src/ext/date/lib/fallbackmap.h,v retrieving revision 1.3 diff -u -p -r1.3 fallbackmap.h --- ext/date/lib

[PHP-DEV] PHP 5.3.0RC3 - changes to isset (Greg)

2009-06-13 Thread Mark Karpeles
n't makes much sense. While I'm pretty sure it has nothing to do with isset() I decided to put that in the subject line to make sure I get attention from the right persons. Anyway I guess we should fix this NEWS entry and... I'm curious about what this was supposed to be. Best regards

[PHP-DEV] Re: [PATCH] Bug #44780 some time zone offsets not recognized by timezone_name_from_abbr

2009-06-25 Thread mark burdett
On Fri, May 8, 2009 at 11:48 AM, mark burdett wrote: > I was able to resolve http://bugs.php.net/bug.php?id=44780 by changing > the fallbackmap from hours to minutes.  The bug is apparently due to > an issue with non-integer offsets.  Also, this patch adds a couple > missing time zo

[PHP-DEV] Fwd: [PHP] proc_open and buffer limit?

2006-01-22 Thread Mark Krenz
this STDIN data size limit when using proc_open? I've tried setting the limits for apache to unlimited in /etc/security/limits.conf just to see if its a system limit. - Forwarded message from Mark Krenz <[EMAIL PROTECTED]> - Date: Sun, 22 Jan 2006 00:25:33 + From: Ma

Re: [PHP-DEV] Fwd: [PHP] proc_open and buffer limit?

2006-01-22 Thread Mark Krenz
owing: > My guess at first look is that you fill the stdout buffer because you don't > read from it untill you stop piping data to stdin. > -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsub

Re: [PHP-DEV] Fwd: [PHP] proc_open and buffer limit?

2006-01-23 Thread Mark Krenz
te() syscall could only write > 64k; since you're ignoring the return code from fwrite(), you're > missing this vital fact. > > Using the streams functions in PHP 5 helps you to write code that > "does what I mean", and makes for shorter, more readable code. > &g

[PHP-DEV] Change to function call semantics in PHP 5.1?

2006-02-21 Thread Mark Spruiell
tentional change? Thanks, - Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Change to function call semantics in PHP 5.1?

2006-02-21 Thread Mark Spruiell
tentional change? Thanks, - Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Change to function call semantics in PHP 5.1?

2006-02-21 Thread Mark Spruiell
> Mark Spruiell wrote: >> In PHP 5.0.x, I can chain function calls like this: >> >> $obj->method()->anotherMethod(); >> >> In PHP 5.1.x, this code results in an error: >> >> parse error, unexpected T_OBJECT_OPERATOR in ... >> >> I'

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
P internals like the SAPI layer. Thanks, those books sound interesting, I guess I will buy both since you can never have enough reference material IMO. Thanks for your time. Regards Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
native engine calls for handling request mortality. You could also check out Sara's runkit in PECL, I think that does similar stuff. Great thankyou, I will certainly take a look at both of these to see what we are doing wrong. Regards Mark -- PHP Internals - PHP Runtime Development Ma

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
ges (March 2005) Publisher: Sams Language: English ISBN: 067232704X Is this the right book as it has a publish date of March 2005. Regards Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
I have placed an order for this book, I guess I should try and finish reading the other 4 php books I purchased recently before then :-) Regards Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
a technical review of a PHP 5 ecommerce book a while ago which was a lot of work, so I can imagine how much more work must be involved to actually write the thing. Regards Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread Mark Evans
Slackers that don't write their own books are the worst! LOL, I couldnt agree more! :-D Regards Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Embedded

2006-03-15 Thread Mark Evans
... Great many thanks, I think I am finally starting to understand how this all works.. Look out world... c++ newbie coming through :-D Regards Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Embedded

2006-03-16 Thread Mark Evans
ined as static in the app. The also sent me the following backtrace if its of any use.. php4ts.dll!00d45b61() php4ts.dll!00d45622() user32.dll!77d6ebe2() php4ts.dll!00d43e16() > ActPHPRunner.dll!PHPEvalString(const ATL::CStringT > > & sCode={...}, _zval_struct * pzvalResult=0x0012

Re: [PHP-DEV] PHP Embedded

2006-03-16 Thread Mark Evans
so i don't have motivation to continue. Thanks Michael, I have passed this onto the c++ developer. Regards Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Flamewar Summary

2006-05-17 Thread Mark Sanders
Ilia Alshanetsky wrote: Inclusion of E_STRICT and E_RECOVERABLE_ERROR into E_ALL -1 Changing the behavior of error reporting can have some implications on servers where it is intended to not show errors at least with E_STRICT errors. Addition of support for dynamic statics ala: class foo {}

Re: [PHP-DEV] private, protected, readonly, public

2006-05-17 Thread Mark Sanders
Stanislav Malyshev wrote: This would be, however, yet another level of complexity added to the language... I think that for the end user it becomes less complicated ... Try to explain a newbie how to properly use getters or setters or even explain him the magic method (using __get and __set

[PHP-DEV] Compilation failure on AIX with 5.1.4

2006-06-07 Thread Mark Spruiell
yyparse (void) #else int yyparse () ; #endif The compilation succeeds after I delete the line containing the semicolon. I downloaded a 5.2 snapshot and verified that this line is still present. Cheers, - Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Compilation failure on AIX with 5.1.4

2006-06-07 Thread Mark Spruiell
ese files are regenerated for whatever reason? > And yes, I forgot to add that: it works perfectly fine here, on AIX 5.3. Perhaps it's a difference in our compilers. I'm using IBM's VisualAge C compiler. Take care, - Mark -- PHP Internals - PHP Runtime Development Mailing L

[PHP-DEV] Resource problem affecting Curl functions

2006-09-21 Thread Mark Krenz
This is running on: Apache 2.0.51 PHP 4.3.10 Linux 2.6.13 /proc/sys/fs/file-max is set to 524288 lsof | wc -l returns 33497 Thanks, Mark ps. I am well aware that I need to upgrade my software so there is no need to tell me to do that. I'm working on it. -- Mark S. Krenz I

Re: [PHP-DEV] Resource problem affecting Curl functions

2006-09-21 Thread Mark Krenz
. Interestingly enough, things like max_execution_time doesn't seem to stop the request after the allotted time. It can sit there for 10+ minutes and never stop. Mark On Thu, Sep 21, 2006 at 02:27:42PM GMT, Richard Quadling [EMAIL PROTECTED] said the following: > > As you intend to

Re: [PHP-DEV] Resource problem affecting Curl functions

2006-09-21 Thread Mark Krenz
little slow, but works. So I'd still appretiate any insight into how I can fix the problem with my current version. Because that's where the problem is. From looking through the last few years of bug reports related to curl, I haven't found anything related to what I am expe

[PHP-DEV] Re: CVS Account Request: morse

2006-11-16 Thread Mark Wiesemann
David Morse wrote: > Contribute to both DB_Table and MDB2_Table. > I've been corresponding with Mark Weisemann, > who will approve this. He's talking about these two PEAR packages that I maintain. His request is valid. Please give him also karma for peardoc. Regards, Mark

Re: [PHP-DEV] Lazy writing in the session, session-lock-ini, and bug #68331

2014-11-05 Thread Mark Caudill
handlers. [1]: https://wiki.php.net/rfc/session-read_only-lazy_write [2]: https://github.com/php/php-src/commit/554021d21e1b2517313a377676260c188152c2eb [3]: https://bugs.php.net/bug.php?id=68331 Mark -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] journald support for Linux systems that use systemd

2015-01-07 Thread Mark Montague
aster branch: https://github.com/markmont/php-src/commit/051775f01d9d1414b7cf45d35983abd958195a0c Proof of concept implementation against PHP-5.6.5 branch: https://github.com/markmont/php-src/commit/7572e35fa0ae1066e4dba2797a28f9dfbb548c1a Thanks for any feedback! -- Mark Montague m...@catsey

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Do you need different OS/platform to test on? Let "me" know

2009-06-26 Thread Mark Karpeles
at will initialize a slave directly, saving the time required to install this on xxx comptuers. Best regards, Mark Karpeles > Scott > > -- > > Sorry for the 2nd email Hannes, forgot reply all. > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: #49346 [Bgs]: using return() with an empty argument list is causing in a parser error

2009-09-03 Thread Mark Skilbeck
mirko dot steiner at slashdevslashnull dot de wrote: ID: 49346 User updated by: mirko dot steiner at slashdevslashnull dot de Reported By: mirko dot steiner at slashdevslashnull dot de Status: Bogus Bug Type: Reproducible crash Operating System: linux,

[PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
that? Thanks, Mark -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
hich I think is VERY important. Please, let's discuss this. Mark On Mon, Oct 12, 2009 at 03:51:48PM GMT, Guilherme Blanco [guilhermebla...@gmail.com] said the following: > It was fat, slow and everything that you can do with POSIX regex you > can easily do with PCRE regex, which

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
ess we get a volunteer to do that, they are gone. > It is not a question of simply leaving in what we have today. It > technically won't work. > > -Rasmus > > Mark Krenz wrote: > > Ok, let me first say that I have no problem with deprecating it in > > favor

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
e of you that have responded are not willing to do the work, then open it up for review by others. Send out a call for volunteers. Maybe my inquiry will spark some interest. Imagine being able to say that you were the one that saved the ereg function. -- Mark S. Krenz IT Director Suso Technology

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
. I spend a fair amount of time on PHP and I still didn't know about this change until recently. -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
On Mon, Oct 12, 2009 at 05:12:43PM GMT, Christian Schneider [cschn...@cschneid.com] said the following: > Mark Krenz wrote: > > But I'm willing to bet that the majority of people are using ereg, not > > PCRE. I've known about PCRE in PHP for a while now, but I continu

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
ing your users. -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
ee any mention of donate on the PHP website. It always seemed from the outside like Zend somewhat supported the project. -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
functions, but a lot of times they are used that way, especially when one of them was written by the author of the language. Duh! So there is my proof. Does anyone still want to dispute me that ereg is still heavily used and you'll make a lot of users angry if you don't give them the pro

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
ose people and voice our opinion. -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Mark Krenz
acceptable, no matter how much time has passed. Its more about version numbers than time. -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Where is the EG macro defined?

2009-10-28 Thread Mark Skilbeck
I'd like to check out how the EG macro (I assume it's a macro) works. However, I cannot find it :( -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Where is the EG macro defined?

2009-10-28 Thread Mark Skilbeck
Graham Kelly wrote: Hi, You might find http://lxr.php.net to be a useful tool to help with finding definitions in the PHP code base. - Graham Kelly On Wed, Oct 28, 2009 at 5:57 PM, Mark Skilbeck wrote: I'd like to check out how the EG macro (I assume it's a macro) works. However

Re: [PHP-DEV] Where is the EG macro defined?

2009-10-28 Thread Mark Skilbeck
Felipe Pena wrote: Hi. 2009/10/28 Mark Skilbeck I'd like to check out how the EG macro (I assume it's a macro) works. However, I cannot find it :( Take a look in Zend/zend_globals_macros.h Cheers, Felipe. It's funny that VS didn't find it when I searched the solu

Re: [PHP-DEV] Where is the EG macro defined?

2009-10-28 Thread Mark Skilbeck
initions in the PHP code base. - Graham Kelly On Wed, Oct 28, 2009 at 5:57 PM, Mark Skilbeck wrote: I'd like to check out how the EG macro (I assume it's a macro) works. However, I cannot find it :( -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: htt

Re: [PHP-DEV] Where is the EG macro defined?

2009-10-28 Thread Mark Skilbeck
Keisial wrote: Mark Skilbeck wrote: I'd like to check out how the EG macro (I assume it's a macro) works. However, I cannot find it :( Zend/zend_globals_macros.h EG means executor_globals. This macro provides access to the value named in the parameter. If running without multi-thre

[PHP-DEV] Is an extension dev. on 5.x usable on 5.>x

2009-10-31 Thread Mark Skilbeck
That is, is an extension compiled on PHP5.1 usable for PHP5.2? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Is an extension dev. on 5.x usable on 5.>x

2009-11-01 Thread Mark Skilbeck
Lester Caine wrote: Mark Skilbeck wrote: That is, is an extension compiled on PHP5.1 usable for PHP5.2? Windows or Linux? In Linux you can normally use an older version, provided nothing else has changed. In windows you normally get a complaint that the versions are not compatible, although

[PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Mark Skilbeck
Can you explain to me why the following causes a segfault: [code] PHP_FUNCTION(sample_var_a_exists) { if (!zend_hash_exists(EG(active_symbol_table), "a", sizeof("a"))) { RETURN_BOOL(0); } RETURN_BOOL(1); } [/code] Note: the segfault only occurs when the sa

Re: [PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Mark Skilbeck
Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott Ah - of course. Thanks for that, Scott. -- PHP Internals - PHP Runtime Development Ma

Re: [PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Mark Skilbeck
Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott Hi, Scott. I'm having trouble - I added the check to see if the symbol table i

Re: [PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Mark Skilbeck
Scott MacVicar wrote: On 1 Nov 2009, at 21:41, Mark Skilbeck wrote: Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott Hi, Scott. I

Re: [PHP-DEV] Seg fault when using active_symbol_table called fromuserspace function.

2009-11-02 Thread Mark Skilbeck
Mark Skilbeck wrote: Scott MacVicar wrote: On 1 Nov 2009, at 21:41, Mark Skilbeck wrote: Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott

[PHP-DEV] Extension Development on Windows

2009-11-03 Thread Mark Skilbeck
Hey, guys/gals. Do any of you know of an up-to-date resource on setting up a development area / building extensions with VS? Everything I find is a couple of years and / doesn't work. Thanks. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub

[PHP-DEV] No core file being created

2009-11-10 Thread Mark Skilbeck
I'm trying to debug a segfault that's occuring in an extension I'm developing (phpgksu - PHP wrapper for libgksu2). On the PHP site it says that if I have PHP configured with --enable-debug (which I do) then whenever PHP crashes a core file should be created in the same directory the file is ex

Re: [PHP-DEV] No core file being created

2009-11-10 Thread Mark Skilbeck
Scott MacVicar wrote: On 10 Nov 2009, at 13:55, Mark Skilbeck wrote: I'm trying to debug a segfault that's occuring in an extension I'm developing (phpgksu - PHP wrapper for libgksu2). On the PHP site it says that if I have PHP configured with --enable-debug (which I do) th

[PHP-DEV] Re: alternative to the fopen() hack in autoloaders

2009-11-10 Thread Mark Skilbeck
Lukas Kahwe Smith wrote: Ahoi, I have written an RFC for a more efficient solution to get rid of the common fopen() hack inside autoloaders: if ($fp = @fopen($file, 'r', true)) { fclose($fp); include $file; } Here is the gist of the proposal: In order to solve the above issues this RFC propos

[PHP-DEV] PATCH: Bug #51056 fread() on blocking stream will block even if data is available

2010-02-17 Thread Mark Karpeles
(and if it's good, wish to see it applied). http://ookoo.org/svn/snip/php-PHP_5_3-streams-socket-blocking-nostuck.patch The change should be pretty much the same for PHP_5_2 (which exhibits the same bug). Test script is available in the bug report to see that the fix is indeed effecti

[PHP-DEV] Req #51295: busyTimeout method for SQLite3

2010-03-13 Thread Mark Karpeles
call sqlite3_busy_timeout() and found out that there was no way to call it from the SQLite3 extension (which is new to PHP 5.3.x). Here's a patch that will add this method to the SQLite3 class: http://bugs.php.net/51295 https://ookoo.org/svn/snip/php_5_3-sqlite3-busytimeout-method.patch Any comment welco

  1   2   3   4   5   >