[PHP-DEV] zend_operators Optimization

2015-04-01 Thread Justin Grice
uot; "movl $0x43e0, 0x4(%0)\n\t" "movb %1, %c2(%0)\n" "0:" : : "r"(&op1->value), "n"(IS_DOUBLE), "n"(ZVAL_OFFSETOF_TYPE) : "cc"); Can anyone clarify the purpose of the 3 'mov' instructions? Thanks, Justin

[PHP-DEV] VCS Account Request: jslingerland

2014-07-09 Thread Justin Slingerland
Maintaining an official, bundled PHP extension -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Scalar type hinting

2012-02-28 Thread Justin Rovang
Additionally, return type hinting could strengthen the use of interfaces. That could problems with implementing interfaces (or an API) from having to do checking to ensure a method in a class implementing an interface is behaving as it should (returning the right stuff). On 2/28/2012 12:35

[PHP-DEV] Re: PHP_SESSION_* constant values

2012-01-28 Thread Justin Martin
Someone actually just pointed out to me that if(-1) returns true. In that case, I suppose my suggestion doesn't quite work. The reason I suggest this is that I suspect people will constantly be looking up what the constants are called. On 12-01-28 11:17 AM, Justin Martin wrote:

[PHP-DEV] PHP_SESSION_* constant values

2012-01-28 Thread Justin Martin
E = 0 - PHP_SESSION_ACTIVE = 1 This way, one can do if(session_status()) to check if there is an active session, rather than having to compare the result to a constant. Any objections? Thanks, Justin Martin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] Change bug tracker "bogus" to "not-bug"?

2012-01-24 Thread Justin Martin
ugh. I'd like to propose simply changing the term "bogus" to "not-bug". This would more politely and clearly indicate the nature of the way the bug is being closed, in addition to the comment that one ordinarily leaves. Those I've spoken to in php.doc agree. Any

Re: [PHP-DEV] [VOTE] Choosing a distributed version control systemfor PHP

2011-08-26 Thread Justin Rovang
Now hold on a sec - It's ok to vote to determine the fate of PHP development - for the entire PHP-lovin' world. Yet, it's not ok to vote for the handful of developers to collaborate? Three weeks of discussion (based on what I've seen here on the list) seems not enough for such a heavy change.

Re: [PHP-DEV] [RFC] Choosing a distributed version control systemfor PHP (or not). Call for Participation.

2011-08-15 Thread Justin Rovang
On 8/14/2011 3:42 PM, Lester Caine wrote: Gwynne Raskind wrote: The only real disadvantage to hg is having to handle python code to maintain > it, people might start converting from PHP;) Although phphgadmin is a start > to improving the php interface support and could be a good start at a fully

Re: [PHP-DEV] [RFC] Choosing a distributed version control systemfor PHP (or not). Call for Participation.

2011-08-12 Thread Justin Rovang
GitHub (and Bitbucket) have made forking a social endeavour - it's meant to be a noisy space of code forks for collaboration just as Stas mentioned. Bottom line: *if* a DVCS is adopted - enhancing policies and a process that supports little additional burden on maintainers is required. Having

[PHP-DEV] PHP array shorthand changes: splice?

2011-07-18 Thread Justin Rovang
I've sifted through the RFC for the array shorthand changes which are quite nice. Something I'm sure has been brought up, but possibly not recently: shorthand array splice. Has there been any notion to the introduction of this feature in the future? The reason I bring this up is it seems that

Re: [PHP-DEV] [IDEA/PRE-RFC] PHP Core Mentorship Program

2011-06-13 Thread Justin Carmony
o spam everyone with a wall of text about them. Justin Carmony On Jun 13, 2011, at 9:12 AM, Rafael Dohms wrote: > On Mon, Jun 13, 2011 at 10:16 AM, David Coallier wrote: >> See response inline. >> ... >> See Pierre, that's where I believe we are doing things wrong. We

Re: [PHP-DEV] [PATCH] Notice on array to string convertion

2011-06-02 Thread Justin Carmony
+1 Sent from my iPhone On Jun 2, 2011, at 4:19 AM, Patrick ALLAERT wrote: > Hi, > > I would like to introduce an E_NOTICE when an array is silently > converted to a string. > This isn't very useful as it constantly produces the following string: > "Array" and in most of the case, this is a sign

Re: [PHP-DEV] RFC: Short syntax for Arrays (redux)

2011-06-01 Thread Justin Carmony
(which we need to add to the RFC), you can cut down on a lot more verbose code, especially with objects. $person = { 'name' => 'Justin', 'city' => 'ogden', 'state' => 'ut', 'country' => 'usa',

Re: [PHP-DEV] Re: RFC: Short syntax for Arrays (redux)

2011-06-01 Thread Justin Carmony
s of the PHP community as a whole. I know I'm newer to the list, and don't want to step on any toes, but I think the RFC process could really benefit from getting this type of feedback. Justin Carmony On Jun 1, 2011, at 8:37 AM, Philip Olson wrote: > > On Jun 1, 2011, at 7:30

Re: [PHP-DEV] RFC: Short syntax for Arrays (redux)

2011-05-31 Thread Justin Carmony
27;, 'var2': 'two' ]; // for an array // even mix and match $person = { 'name': 'Justin', 'city': 'Ogden' 'phones' : [ 'home': '555-3928', 'work': '555-3922' ] }; echo $person-&

Re: [PHP-DEV] RFC: Short syntax for Arrays (redux)

2011-05-31 Thread Justin Carmony
would love to help put together whatever is required for a new RFC, and do anything to help others who don't see the use for the short notation. Justin Carmony On May 31, 2011, at 12:42 PM, Brian Moon wrote: > https://wiki.php.net/rfc/shortsyntaxforarrays > > Since this was bro

[PHP-DEV] chroot function availability disqualifiers

2010-11-06 Thread Justin Martin
ith a better understanding of the compile process illuminate me as to all of the reasons why chroot might not be available? Thanks, Justin Martin, a.k.a. FrozenFire -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] TODO List

2010-05-12 Thread Justin Dearing
If you want some quick ipv6 gruntwork http://bugs.php.net/bug.php?id=47435 I worked out all but one case. I submitted a patch of the partial work. Justin On May 12, 2010 5:46 PM, "Mathias Grimm" wrote: thanks. 2010/5/12 Johannes Schlüter > On Wed, 2010-05-12 at 17:23 -

[PHP-DEV] Fwd: Req #50698 [Opn->Asn]: SoapClient should handle wsdls with some incompatiable endpoints

2010-04-08 Thread Justin Dearing
holding things up. Is there any action I have failed to take in my attempts to resolve this ticket, or do I just have to be patient? Thanks, Justin -- Forwarded message -- From: PHP Bug Database Date: Fri, 2 Apr 2010 20:51:16 +0200 (CEST) Subject: Req #50698 [Opn->Asn]: SoapCli

[PHP-DEV] Re: Bug 47435[Was]: Re: [PHP-DEV] What gruntwork needs to be done

2010-04-07 Thread Justin Dearing
version of PHP so people will gravitate towards it as an easy to use > built-in mechanism as opposed to rolling their own over and over. > I'm all about reusing code. Before I open the ticket, can someone propose a better constant name than FILTER_FLAG_INCLUDE_CIDR_NETMASK. Justin

[PHP-DEV] Bug 47435[Was]: Re: [PHP-DEV] What gruntwork needs to be done

2010-04-07 Thread Justin Dearing
_NETMASK that does match. I second Mike G's proposed additional "FILTER_FLAG_NO_SPECIAL_RANGE" that captures the union of the other sets as a convenient shortcut. Justin

[PHP-DEV] Repetitive calling of Z_STRLEN_P(value) in ext/filter/logical_filter.c

2010-04-07 Thread Justin Dearing
etive macro expansion? Justin

[PHP-DEV] What gruntwork needs to be done

2010-04-06 Thread Justin Dearing
me test" or "I wrote this patch on linux, I need someone to make it work on windows too" or, "Party X complains of this but refuses to fill out a proper bug report." Justin

Fwd: [PHP-DEV] Newbie contributor question, nmake test will not run my patch

2010-04-05 Thread Justin Dearing
I did not hit "reply-all" -- Forwarded message ------ From: Justin Dearing Date: Mon, Apr 5, 2010 at 4:50 PM Subject: Re: [PHP-DEV] Newbie contributor question, nmake test will not run my patch To: Pierre Joye Pierre, Thank you for your reply. Allow me to clarify. I me

[PHP-DEV] Newbie contributor question, nmake test will not run my patch

2010-04-05 Thread Justin Dearing
ell. What am I doing wrong and where is the link explaining what I am doing wrong? Justin

[PHP-DEV] Fwd: Adding warnings and notices to load_wsdl()

2010-01-28 Thread Justin Dearing
n the code. However, if someone could give me some insight into what in the php code could repress calls to php_error() below the E_ERROR severity it would be helpful. Regards, Justin Dearing -- Forwarded message ------ From: Justin Dearing Date: Sun, Jan 17, 2010 at 11:03 AM Subje

[PHP-DEV] Re: PHP 5.3.1RC2 Testing

2009-10-21 Thread Justin Rovang
Are there changelogs available without downloading? I keep digging but can't find one - only for standard releases (http://www.php.net/ChangeLog-5.php#5.2.11) >>> On 10/20/2009 at 17:31, Johannes Schlüter wrote: The second release candidate of 5.3.1 was just released for testing and can be d

[PHP-DEV] Re: Update to Zend Highlighter

2009-06-26 Thread Justin Martin
Just a friendly prodding. Was this ever added? Thanks, Justin Martin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Closures and __FUNCTION__

2009-04-13 Thread Justin Martin
I suppose it's an issue of cloning. Perhaps there's some difference between a cloned closure and a referenced closure? Thanks, Justin Martin Peter Danenberg wrote: >> First, we define $foo and load it with NULL so that it is available for >> referencing. > >

Re: [PHP-DEV] Re: Closures and __FUNCTION__

2009-04-13 Thread Justin Martin
ence to $foo in the closure declaration now points to the closure itself. Recursion is always complicated :P Thanks, Justin Martin Peter Danenberg wrote: > Quoth Justin Martin on Pungenday, the 30th of Discord: >> Apparently it works as such: >> >> $foo = NULL;

[PHP-DEV] Re: Closures and __FUNCTION__

2009-04-13 Thread Justin Martin
In addendum I'd like to correct the syntax that I had someone in IRC test. Apparently it works as such: $foo = NULL; $foo = function($foo) use (&$foo) { ... } Still rather hackish, but better than globals I suppose? Thanks, Justin Martin Justin Martin wrote: > Hi Pete

[PHP-DEV] Re: Closures and __FUNCTION__

2009-04-13 Thread Justin Martin
Hi Peter, If I recall correctly, you can use the 'use' keyword. $factorial = function($foo) use ($factorial) { $factorial($foo); } $factorial('Hello World!'); I'm still having issues compiling 5.3 on my system, so I haven't tested this. Thanks, Justin

Re: [PHP-DEV] Update to Zend Highlighter

2009-04-02 Thread Justin Martin
want their stylesheet included. Thanks, Justin Davey Shafik wrote: > Why not just re-use the same highlight.*, they can be colors or classes... > > or > > you switch this based on "highlight.use_external_styles". You could also > add a: "highlight.add_styleshe

Re: [PHP-DEV] Update to Zend Highlighter

2009-04-02 Thread Justin Martin
y a fairly large job, and certainly not one that would be "just committed," but I believe it would be of benefit to developers. Thanks, Justin Kalle Sommer Nielsen wrote: > Hi Justin > > 2009/4/2 Justin Martin : >> Hello everyone, >> >> I'd like to

[PHP-DEV] Update to Zend Highlighter

2009-04-01 Thread Justin Martin
sion structure. If I've submitted my proposal poorly, I apologize. Please offer any comments you have. Thank you, Justin Martin aka FrozenFire Index: Zend/zend_highlight.c === RCS file: /repository/ZendEngine2/zend_highlight.c,v ret

Re: [PHP-DEV] my last attempt at sanity with namespaces

2008-10-16 Thread Justin Carlson
+1 for option 3, http://wiki.php.net/rfc/namespaceissues Really don't want to see option 2. Richard Quadling wrote: 2008/10/15 Greg Beaver <[EMAIL PROTECTED]>: Hi, http://wiki.php.net/rfc/namespaceissues Read it and discuss. Let's be clear people: the technical problems in namespaces ar

Re: [PHP-DEV] namespaces sanity: addition to RFC explaining why Stas's proposal doesn't work

2008-10-16 Thread Justin Carlson
I vote for option 3. http://wiki.php.net/rfc/namespaceissues Seems like the best fit all around. Steph Fox wrote: Hannes, Lester... Can we please start small and then incrementally add more features? Lets start with classes only in namespaces in 5.3. The problem with that statement is

[PHP-DEV] Re: Suggestion for get_headers

2008-03-09 Thread Justin Martin
Justin Martin wrote: Hi there, I have a suggestion regarding get_headers, however I do not have a knowledge of C with which to provide a patch. The function get_headers is, as most will know, used to retrieve headers generated by an HTTP request. The primary parameter to this, "string

[PHP-DEV] Suggestion for get_headers

2008-03-09 Thread Justin Martin
g transparent. Any comments? Thanks, Justin Martin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] w32api extension

2008-02-11 Thread Justin Martin
Pierre Joye wrote: Hi Justin, ... It has been moved out of php-src because the extension was not maintained. It is in PECL's cvs but has no release (still not maintained): http://cvs.php.net/viewvc.cgi/pecl/w32api/ FFI is much more powerful yes. But it has been developed independent

[PHP-DEV] w32api extension

2008-02-10 Thread Justin Martin
shed some light on this issue? Regards, Justin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PEAR-DEV] Re: [PHP-DEV] Re: phar and e_strict

2005-10-01 Thread Justin Patrin
c conversion of pear code to php 5 code. > You could do this with a post-install script quite easily. I don't think this is the point, however. Making code E_STRICT isn't really important. The thing that Greg wants to do is drop PHP4 support completely. This would make the code less c

[PHP-DEV] Re: Property Overloading RFC

2005-08-08 Thread Justin Hannus
Please let me correct my last post, and sorry for the double posting :) Justin Hannus wrote: The way ActionScript 2.0 solves this is function __get fooProp() { return $this->_fooProp; // $_fooProp is read only } function __set barProp($

[PHP-DEV] Re: Property Overloading RFC

2005-08-08 Thread Justin Hannus
...And, this could allow static member overloading as well! -Justin Justin Hannus wrote: The way ActionScript 2.0 solves this is with set and get keywords on function declarations. Any class can contain as many setter/getters as they need,. Since we dont want to introduce any new keywords how

[PHP-DEV] Re: Property Overloading RFC

2005-08-08 Thread Justin Hannus
the existing rules apply. -Justin Derick Rethans wrote: Hello! we're finding some problems with property overloading (__get() and __set()). Here is an RFC describing what we'd like to see changed. Please comment on this. Introduction: PHP currently supports property overloading w

[PHP-DEV] ftruncate() and user stream wrappers

2005-06-16 Thread Justin Hannus
Is there plans to allow ftruncate calls on user defined stream wrappers? i.e. The wrapper class would implement: bool stream_truncate(int length); -justin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Segfault in PDO_ODBC w/db2 v7.2

2005-05-31 Thread Justin Hannus
post i sent to pecl.dev, I'm not even sure if PDO_ODBC supports IBM-DB2v7.2. Can someone confirm this? Justin Hannus Software Engineer | Lycos Inc. [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: new overloading feature?

2005-05-13 Thread Justin Hannus
ike if defined would really slow down the engine. But, i think this could work well in many, many different situations. Maybe only a subset of operators are overloadable with this method. -Justin Derrell Lipman wrote: I came across an interesting desire today. I'd like to create a new clas

[PHP-DEV] Re: new overloading feature?

2005-05-13 Thread Justin Hannus
ike if defined would really slow down the engine. But, i think this could work well in many, many different situations. Maybe only a subset of operators are overloadable with this method. -Justin Derrell Lipman wrote: I came across an interesting desire today. I'd like to create a new clas

[PHP-DEV] Re: Build issues with Mac OSX 10.4

2005-05-12 Thread Justin Hannus
buggy configure scripts from running buildconf. try checking the versions on your system vs. the versions recommended for building php. http://www.php.net/anoncvs.php http://www.php.net/manual/en/install.macosx.php -justin D. Walsh wrote: I've been trying to build PHP in Mac OS X Server 10.4.0 T

Re: [PHP-DEV] Re: os x linking issue with extension

2005-04-08 Thread Justin Hannus
#if COMPILE_DL_CARBONAE ZEND_GET_MODULE(carbonae) #endif This is done for you with ext_skel or Pecl::Gen, assuming the name of your extension is "carbonae". -Justin Michael Johnston wrote: Hi, The config is: PHP_ARG_WITH(carbonae, for carbonae support, [ --with-carbonae Inclu

[PHP-DEV] Re: os x linking issue with extension

2005-04-04 Thread Justin Hannus
wrapping. Sounds interesting. -Justin Michael Johnston wrote: (I'm not sure if extension development belongs on this list, but I couldn't find a better one. If there is a more appropriate list, could someone please point me to it?) I am working on an extension that is os x specific &

Re: [PHP-DEV] XML RPC in PHP 5

2005-02-11 Thread justin randell
ooking for an excuse to learn more about both. so i'm willing, but i don't really know what it entails, nor whether i'd be suitable. if i'm not suitable, fair enough. either way, can someone point me to some resources or send me something off list that will give more of an idea of

Re: [PHP-DEV] On Namespaces...

2004-08-17 Thread Justin Hannus
t be the best idea to implement function/classes with keyword names from other languages but the terms best describe my problem. Maybe I'll prefix them. EOT -Justin "Zeev Suraski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 21:06 16/08/2004, Marcus

Re: [PHP-DEV] On Namespaces...

2004-08-16 Thread Justin Hannus
Thanks. I figured as much but when I implemented this the terms 'Namespace' and 'import' just sounded so sexy to me. -Justin "Marcus Boerger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Justin, > > Monday, August 16, 2004, 4

Re: [PHP-DEV] On Namespaces...

2004-08-16 Thread Justin Hannus
de|require[_once] dubbed 'Namespace' with static method Namespace::import(). I'm just wondering if 'namespace' and 'import' is reserved for future use before I port all my code to php5. Thanks, -Justin Hannus "Zeev Suraski" <[EMAIL PROTECTED]> wro

[PHP-DEV] Re: Question from a new module developer

2004-07-17 Thread Justin Hannus
David Carter wrote: Hi, I'm developing a standalone module that needs to hook into another Apache module. I need a pointer to a request record (request_rec) to make the apache call, but I can't seem to find how to access one from a module. (or alternatively, a way to get a current request from with

[PHP-DEV] Re: buildconfig on mac

2004-07-06 Thread Justin Hannus
--force in a freshly un-tarred 4.3.7 release works great. http://us4.php.net/manual/en/faq.build.php may have some info on the autoconf versions you'll need. -Justin Hannus > > Any ideas how to fix this. There were some other errors but I have fixed > those. This error seems to be

[PHP-DEV] CVS Account Request: justinpatrin

2004-06-10 Thread Justin Patrin
My reason is actually to submit to a PEAR module I have just been added as a developer to. DB_DataObject_FormBuilder. I have talked to Markus Wolff (the package lead) and he's ok with my commiting to CVS for this package. The username listed below is my PEAR username. -- PHP Internals - PHP

[PHP-DEV] CVS Account Request: scyth

2004-05-31 Thread Justin Shreve
Developing the PHP runtime Help Main the documentation Help maintain an official, bundled PHP extension -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Type hints

2004-05-12 Thread Justin Hannus
IMHO if php is going to have the option to use type hinted parameters (which I really like) then it should have the option to use type hinted variables as well. Half stepping with the type hints are just going to complicate things. Afterall, NULL is a value and not a type. And if you use a type hin

Re: [PHP-DEV] Re: Construct Request

2004-04-15 Thread Justin Hannus
Actually, although suppressing the E_NOTICE, this is not exactly the behavior you want. What if $_GET['Does']['Not']['Exist'] really doesn't exists? It is then created and assigned to $param when passed as an argument to the param function. Therefore polluting $_GET with another unused array and a

[PHP-DEV] Re: Construct Request

2004-04-15 Thread Justin Hannus
> echo setor($required_variable, die('error...'); > or > echo setor($error, ''); > or > echo setor($sMessage, $sDefaultMessage). > or > $z = setor($_GET['z'], 'Default'); > $z = setor($_GET['z'], 'Default'); Whats wrong with defining a user-level function? function setor_array(&$array, $key, $def

[PHP-DEV] [patch] xslt config.m4: no link to stdc++ for Sablot

2004-04-02 Thread Justin Hannus
_LIBRARY(stdc++,,XSLT_SHARED_LIBADD) AC_TRY_RUN([ #include #include @@ -162,6 +163,5 @@ PHP_ADD_INCLUDE($XSLT_DIR/include) PHP_ADD_LIBRARY_WITH_PATH($XSLT_LIBNAME, $XSLT_DIR/lib, XSLT_SHARED_LIBADD) - AC_DEFINE(HAVE_XSLT, 1, [ ]) fi ------

[PHP-DEV] CVS Account Request: jhannus

2004-02-04 Thread Justin Hannus
maintaining opendirectory extension -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: m31

2004-01-09 Thread Justin Hannus
not so sure if i'll really need one at this point but. for further developing, versioning and testing of newly proposed "opendirectory" extension. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New extension proposal - OpenDirectory

2004-01-09 Thread Justin Hannus
will do :) "Wez Furlong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey Justin, > > I guess most people have been a little too busy over the christmas > break. > > The quickest way is to fill out the pecl account form on pecl.php.net. > &g

[PHP-DEV] New extension proposal - OpenDirectory

2004-01-09 Thread Justin Hannus
previously posted on php.pecl.dev --- I've posted a couple messages in the past week or so proposing an extension I'm working on to the pecl.dev list but no responses, not even a -1. Is there a better way to make a proposal?? "Justin Hannus&quo

[PHP-DEV] Re: Resource array of arrays (variable at runTime)

2003-12-17 Thread Justin Hannus
etter place for the question. -Justin Hannus "VIVI arno" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I try to build an extension for my pleasure. > I would like to make a function which return me an array of variable arrays. For exampl

Re: [PHP-DEV] With End With

2003-12-10 Thread Justin Hannus
g it in userland with a recursive function that merges properties, that's way to much unnecessary work. Why not just manually de-reference the object on subsequent method calls? -justin "Bdkr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > jason davidson wrote

[PHP-DEV] REGISTER_*_CONSTANT() or SET_VAR_*() with multiple strings constants

2003-12-08 Thread Justin Hannus
ariables. Any thoughts on this would be appreciated. Thanks, -- Justin Hannus Lead Programmer/Web Development [EMAIL PROTECTED] www.visualconceptsinc.com [860] 242.1150 ext.125 [860] 242.1446 fax -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: help with config.m4 for ext's

2003-11-05 Thread Justin Hannus
Maybe this was the wrong list to post to.. but for those of you who come across the same problem, I fixed it by removing the array subscripts and using scalar values instead. AC_DEFINE* and probably all the m4 macros strip all ['s and ]'s from your config.m4 file. -JH &quo

[PHP-DEV] help with config.m4 for ext's

2003-11-03 Thread Justin Hannus
(DS_SOURCEVERSION, "$ds_plist[$((i+1))]", [DS version.plist value SourceVersion]);; *BuildVersion*) AC_DEFINE_UNQUOTED(DS_BUILDVERSION, "$ds_plist[$((i+1))]", [DS version.plist value BuildVersion]);;

Re: [PHP-DEV] file_exists and array_merge_clobber

2003-09-30 Thread Justin Hannus
Aahh, I didn't see that in your original message :) "Lukas Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > From: Justin Hannus [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 30, 2003 8:12 PM > > > > I agree with Wez

Re: [PHP-DEV] file_exists and array_merge_clobber

2003-09-30 Thread Justin Hannus
I agree with Wez, what if you are searching for a file with a relative file path, e.g: wrote in message news:[EMAIL PROTECTED] > Using the include path for file_exists doesn't sound useful to me, for > similar reasons as those for not allowing to write a file in the include > path - which file ar

Re: [PHP-DEV] before beta2 (is alive again) :-)

2003-09-08 Thread Justin Hannus
Hello All, IMHO. I agree with Andi, but the only way to I see fit to implement this is through polymorphism. If every object is a subclass of an Object class then passing a NULL reference would make more since and be perfectly legal. -Justin Hannus "Andi Gutmans" <[EMAIL PROTECT

Re: [PHP-DEV] [Proposal] Idea for Application level variables

2003-08-14 Thread Justin Hannus
So it seems like to get the same functionality, in userland, why not just: $_APPLICATION = &$_SESSION -Justin "Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Wojtek Meler wrote: > > Davey wrote: > > > >> MMCache can be used

Re: [PHP-DEV] shutdown_memory_manager and resource handling

2003-08-14 Thread Justin Hannus
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can't you get a line number and the actual address being accessed to cause > that crash? Here is a more detailed backtrace. In my original post I was using php-4.3.0 but the recompiled version with --enable-debug I'm u

Re: [PHP-DEV] shutdown_memory_manager and resource handling

2003-08-14 Thread Justin Hannus
> so - just try to build your extension static into php, debug > it and build it shared once you have no leaks left > Thanks, I'll try that. -Justin Hannus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] shutdown_memory_manager and resource handling

2003-08-14 Thread Justin Hannus
ot get a chance to until later tonight. -Justin Hannus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] shutdown_memory_manager and resource handling

2003-08-14 Thread Justin Hannus
000 r24: 0x r25: 0x r26: 0xb968 r27: 0x0010 r28: 0x0003 r29: 0xb97c r30: 0xbfffdf50 r31: 0x0018ade8 -- Justin Hannus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] shutdown_memory_manager and resource handling

2003-08-14 Thread Justin Hannus
> do you use any shared php extensions by any chance? Yes, I'm developing an extension to wrap Apple's OpenDirectory API (reffer to my first post). Thats the only shared extension that I'm using. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php

Re: [PHP-DEV] resepcting naming/style conventions

2003-07-28 Thread Justin Hannus
Ahh, yes. Please excuse my ignorance :) "Alan Knowles" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Justin Hannus wrote: > > >When writing an extension for an API (non-oop) that uses "studlyCaps" naming > >style, which naming style sho

[PHP-DEV] resepcting naming/style conventions

2003-07-25 Thread Justin Hannus
When writing an extension for an API (non-oop) that uses "studlyCaps" naming style, which naming style should be respected? PHP's underscore_delimited naming or the existing API's studlyCaps style? -- Justin Hannus -- PHP Internals - PHP Runtime Development Mailing List T

Re: [PHP-DEV] Re: Double warnings with session_start

2003-06-25 Thread Justin Hannus
Oops! <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 25 Jun 2003, Justin Hannus wrote: > > > 1 > > 2 > 3 session_start(); > > 4 ?> > > 5 session inizializzata > > > > It appears that line 1. has the "output"

[PHP-DEV] Re: Double warnings with session_start

2003-06-25 Thread Justin Hannus
1 2 5 session inizializzata It appears that line 1. has the "output" that forces the headers sent, in this case, just a newline. Anything outside the tags are treated as STDOUT forcing the php module to send the headers before you start your session. Try moving your 4 session inizializzata "

[PHP-DEV] shared ext linkage question

2003-06-22 Thread Justin
hared and -rdynamic flags. I'm not sure how to debug this problem cause I'm not exactly sure what lib I'm actually linking to, and the documentation is somewhat vague. Can someone point me in the right direction?? Thanks, Justin Hannus <[EMAIL PROTECTED]>

[PHP-DEV] shared ext linkage question

2003-06-22 Thread Justin
hared and -rdynamic flags. I'm not sure how to debug this problem cause I'm not exactly sure what lib I'm actually linking to, and the documentation is somewhat vague. Can someone point me in the right direction?? Thanks, Justin Hannus <[EMAIL PROTECTED]>