Re: [PHP-DEV] Renaming namespaces to packages

2007-08-22 Thread l0t3k
Jani Taskinen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] package is also shorter than namespace. Just commit the stuff, it's pointless to argue about it. Majority rules. and it makes for great alliteration can you say Peter picked a Pack of Pecl PHP Packages ;-) -- PHP

[PHP-DEV] Re: PHP ICU project announcement

2007-07-14 Thread l0t3k
functionality that i'd like to submit pending discussion and approval l0t3k Stanislav Malyshev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all! We have started a project to make it easier to support international markets using PHP. A number of internationalization functions from

Re: [PHP-DEV] PHP 6 Preview

2007-05-16 Thread l0t3k
if someone has specific ICU tasks, i can pitch in. i have some (calendar) locale info fetching code i've been meaning to finish off.. Stanislav Malyshev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] And besides this filter issue, what are the remaining pieces to be done? There's

Re: [PHP-DEV] PHP 6 Preview

2007-05-16 Thread l0t3k
Michael Wallner [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Where? Will it be eat it or die when you're done? There've been no replies from core developers to my postings on php-i18n about providing ResourceBundle API except a single notice from Andrei. i think i chimed in as

Re: [PHP-DEV] PHP 6 Preview

2007-05-16 Thread l0t3k
Michael Wallner [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] l0t3k wrote: Where? Will it be eat it or die when you're done? There've been no replies from core developers to my postings on php-i18n about providing ResourceBundle API except a single notice from Andrei. i think

[PHP-DEV] Re: TSRMLS_D/C persistence

2006-06-30 Thread l0t3k
)in that function, and the macro TSRMLS_FETCH_FROM_CTX(ctx-thread_ctx);in the callback php_enum_char_type_range()l0t3k Andrew MatherBt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How long are the TSRMLS_D/C parameters good for? Can the resultant tsrm_ls value be safely stored? I

Re: [PHP-DEV] Karma Request

2006-04-21 Thread l0t3k
Pierre, i've been working extensively (in private) with the ICU API [1], so that's my primary focus. in the immediate term i have a patch against the CVS collator code to add support for sort keys, as well as a patch for ICU error code to string [2]. Clayton aka l0t3k [1] An old attempt

Re: [PHP-DEV] Karma Request

2006-04-21 Thread l0t3k
, l0t3k wrote: Pierre, i've been working extensively (in private) with the ICU API [1], so that's my primary focus. in the immediate term i have a patch against the CVS collator code to add support for sort keys, as well as a patch for ICU error code to string [2]. Clayton aka l0t3k

[PHP-DEV] Re: php-src /ext/standard array.c php_array.h /ext/unicode collator.c config.m4 config.w32 php_unicode.h unicode.c

2006-03-26 Thread l0t3k
switches between ucol_compare and sort-key generation after a threshold, but i havent had time to work on it. l0t3k Derick Rethans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] derick Sun Mar 26 11:06:24 2006 UTC Added files: /php-src/ext/unicode collator.c Modified files

[PHP-DEV] Re: Declaring php-class static member functions from within C/C++

2006-03-17 Thread l0t3k
How then can I inform zend/php of my intent to supply a static member function, such that I can call for example myclass::somestaticfunc() PHP_ME(myclass, getValue, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC ) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] Re: Declaring php-class static member functions from within C/C++

2006-03-17 Thread l0t3k
How then can I inform zend/php of my intent to supply a static member function, such that I can call for example myclass::somestaticfunc() PHP_ME(myclass, getValue, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC ) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c php-src/tests/classes ctor_in_interface_01.phpt ctor_in_interface_02.phpt ctor_in_interface_03.phpt ctor_in_interface_04.phpt interfa

2006-03-06 Thread l0t3k
This should cause much fun with classes implementing multiple interfaces Dmitry Stogov [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well :) I don't say that the patch is wrong, the question itself is disputable. PHP doesn't allow multiple constructors, so if some class

Re: [PHP-DEV] C Level Iterators and Userland Classes

2006-02-16 Thread l0t3k
Marcus, one last question ... You should never touch the data member of that iterator does this mean that i should make a copy of whatever i get from the get_current_data() handler ? There seems to be a bit of inconsistency in dealing with the current element in the iterators For example, the

[PHP-DEV] Re: php-src /ext/unicode unicode_iterators.c /ext/unicode/tests .cvsignore iterator_001.phpt

2006-02-16 Thread l0t3k
Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] helly Wed Feb 15 21:34:21 2006 UTC +static inline text_iter_obj* text_iter_to_obj(zend_object_iterator *iter) +{ + static text_iter_obj adr; + static int ofs = (char*)adr.iter - (char*)adr; + + return (text_iter_obj

[PHP-DEV] Re: php-src /ext/unicode unicode_iterators.c /ext/unicode/tests .cvsignore iterator_001.phpt

2006-02-16 Thread l0t3k
Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] helly Wed Feb 15 21:34:21 2006 UTC +static inline text_iter_obj* text_iter_to_obj(zend_object_iterator *iter) +{ + static text_iter_obj adr; + static int ofs = (char*)adr.iter - (char*)adr; + + return (text_iter_obj

[PHP-DEV] C Level Iterators and Userland Classes

2006-02-15 Thread l0t3k
as well ? l0t3k begin 666 sort.txt M4$A07TDQ.$Y?05!)('IE;F1?8F]O;!I8W5?8V]L;%T;W)?V]R=A#;VQL M871OB J8V]L;[EMAIL PROTECTED])0D)[EMAIL PROTECTED] -@D)0D)F5N9%]B M;V]L(%S8V5N9[EMAIL PROTECTED])0D)[EMAIL PROTECTED])EW5L=!44U)-3%-?1$,I M#0I[#0H):6YT,S)?=!C;W5N= ](# L(EN95X+!I.PT*6-O;Q?V]R M=%]K97D

Re: [PHP-DEV] C Level Iterators and Userland Classes

2006-02-15 Thread l0t3k
Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello l0t3k, first of all your question does not make any sense to me whatsoever. What im trying to allow for is sorting by iterator as well as standard arrays, for example : // assume en_US as default locale $coll

Re: [PHP-DEV] C Level Iterators and Userland Classes

2006-02-15 Thread l0t3k
ic, sounds interesting. Actually Andrei doesn't it look like something for ext/unicode? that's what it's for, actually... The second thing is that you did not use the dtor() handler so you have a memory leak. which dtor handler ? Zend/zend_iterators.h: typedef struct

[PHP-DEV] [PATCH] Re: php-src /ext/unicode unicode_iterators.c

2006-02-10 Thread l0t3k
Andrei, check out this diff. It adds config protection for break iteration.. Clayton Andrei Zmievski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] andrei Sat Feb 11 00:16:43 2006 UTC Modified files: /php-src/ext/unicode unicode_iterators.c Log: Implement

[PHP-DEV] [PATCH] Re: php-src /ext/unicode unicode_iterators.c

2006-02-10 Thread l0t3k
Andrei, check out this diff. It adds config protection for break iteration.. Clayton Andrei Zmievski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] andrei Sat Feb 11 00:16:43 2006 UTC Modified files: /php-src/ext/unicode unicode_iterators.c Log: Implement

Re: [PHP-DEV] JSON inclusion in core

2006-01-23 Thread l0t3k
can continue using associative arrays. But for people using objects, i imagine that a mapping step from JSON encoded string to object would be the general case. If so, we should by all means optimize for this case. PDO and SOAP have mapping code, so there is prior art we can refer to. l0t3k

[PHP-DEV] Re: Desired namespace behavoir

2005-12-01 Thread l0t3k
. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: phpnamespaces.org!

2005-12-01 Thread l0t3k
, then the global A cannot be accessed from the namespace. Is this OK? These rules would need to be the same and affects the following contexts: i should know this, but does PHP use :: as the global scope resolver as in C++ ? if so, namespaced A==$A global A == ::$A l0t3k -- PHP

Re: [PHP-DEV] PHP6, Unicode for language functions, classes,methods, vars names

2005-09-14 Thread l0t3k
), but if i someone can get a Japanese source-code contract which specifies identifiers must be Katakana, then more power to us all if PHP is the language chosen to implement it. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: PHP 6.0 Wishlist

2005-08-22 Thread l0t3k
i think that create_function() does an eval() at runtime, which is more expensive. anonymous functions would be handled in the compiler. l0t3k Stanislav Malyshev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Just out of curiosity, what's bad in create_function and how real ones

Re: [PHP-DEV] Re: PHP 6.0 Wishlist

2005-08-22 Thread l0t3k
i think that create_function() does an eval() at runtime, which is more expensive. anonymous functions would be handled in the compiler. l0t3k Stanislav Malyshev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Just out of curiosity, what's bad in create_function and how real ones

Re: [PHP-DEV] PHP Unicode support design document

2005-08-16 Thread l0t3k
Please don't use stupid caps, these are functions not methods. Andrey of course not. see http://icu.sourceforge.net/apiref/icu4c/uchar_8h.html , but note that functions conform to PHP's function naming conventions ( lower_case_words_separated_by_underscores() ). clayton -- PHP Internals -

Re: [PHP-DEV] Re: php-src /ext/dom attr.c cdatasection.c characterdata.c comment.c document.c documentfragment.c dom_iterators.c domexception.c domimplementation.c element.c entityreference.c namednod

2005-08-12 Thread l0t3k
Andrei Zmievski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, this is pretty high impact as far as code changes are concerned. Since one should not attempt to access a class entry without U_CLASS_ENTRY() macro, should it even be optional? my uneasiness with this is that if

[PHP-DEV] Re: [PATCH] Namespace Patch, Beta 1

2005-08-03 Thread l0t3k
Jesse, another thing to consider (if you havent already) is extension support. IOW, how do i place my extension-created class into a namespace. Is this as simple as declaring the class name as Ns:Class ? l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

[PHP-DEV] INI directive processing order

2005-04-04 Thread l0t3k
At what point in the module or request lifetime are INI directives handled (specifically, when are ini handler callbacks invooked) ? i have some objects stored as module globals which are affected by ini settings, so i need to know how to do proper cleanup/initiation. l0t3k -- PHP Internals

[PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/pgsql config.m4 config.w32pgsql.c /ext/pgsql/tests 08escape.phpt 25async_query_params.phpt

2005-03-29 Thread l0t3k
have to estrdup() it, otherwise Bad Things (tm) happen. take a look at the RETURN_STRING[L] macro. the last argument determines whether the string passed to it is duplicated by PHP before returning it to the user. l0t3k -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Serialization question

2005-03-20 Thread l0t3k
Marcus, i just read through var.c (specifically php_var_serialize_intern) and it seems as if the properties hash is handled correctly if the user specifies __sleep and __wakeup. IOW, the custom callback is called, then _sleep is called to determine how to further handle properties. l0t3k

[PHP-DEV] Serialization question

2005-03-19 Thread l0t3k
= new Locale(); } *object = php_locale_new(loc TSRMLS_CC); return SUCCESS; } /* }}} */ l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: par/phar/jar (was zend_stream_fixup)

2005-03-10 Thread l0t3k
into the files, so if companies want to encrypt source/data, they are able to do so (and use a PHP stream filter to extract/decrypt). l0t3k Daniel Convissor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, Mar 10, 2005 at 22:25:39 +0800, Marcus Boerger wrote: For a short idea, we could

[PHP-DEV] Re: Object custom serializing infrastructure

2005-02-23 Thread l0t3k
Stas, can the serialized representation contain high-bit/control chars or would we need to base64 encode or similar in that case ? l0t3k Stanislav Malyshev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have added the callbacks to class_entry structure and patches

[PHP-DEV] Re: Before March 1st aka PHP 5.1 beta

2005-02-17 Thread l0t3k
Marcus, a minor but important issue (to me, at least) is the consistent use of SPL exceptions throughout OOP based extensions... Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello internals, before we rush into another version, how about clearing some open

Re: [PHP-DEV] Re: Before March 1st aka PHP 5.1 beta

2005-02-17 Thread l0t3k
Ron Korving [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] So why is this such a big no? Implementation problem or is it against a certain PHP philosophy? Just do a google search on the cons of MI (narrow it to C++ if you please). it's much more a philosophical issue, although i'd

Re: [PHP-DEV] Re: Please test PDO

2005-02-15 Thread l0t3k
Wez, do you know if some resources for ole-db ? when i was silly enough to try and write my own abstraction layer, that was the one that got away. if i had some code/samples/documentation, i'd try my hand at supporting it Wez Furlong [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP-DEV] Re: Please test PDO

2005-02-15 Thread l0t3k
thanks Wez, i'll take a look. if it gets too hairy, i'll investigate ADO ... Wez Furlong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I heard from Frank that it's really painful. You should be able to find the SDK on msdn.microsoft.com somewhere. --Wez. -- PHP Internals - PHP

Re: [PHP-DEV] Re: Please test PDO

2005-02-15 Thread l0t3k
i think i may have found enough info to do a Hello World driver. there actually used to be a full book online describing DB programming under VC++ (with some decent code examples), but i've long since lost the link. i'll google till i find it. Wez Furlong [EMAIL PROTECTED] wrote in message

Re: [PHP-DEV] Re: Please test PDO

2005-02-15 Thread l0t3k
aha !!! http://www4.dogus.edu.tr/bim/bil_kay/prog_dil/c++/index.htm chapters 16 - 21. now off to the dungeon g L0t3k [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i think i may have found enough info to do a Hello World driver. there actually used to be a full book online

[PHP-DEV] Re: [PECL-CVS] cvs: pecl /xmlrpci CREDITS EXPERIMENTALconfig.m4 config.w32 php_xmlrpci.h xmlrpci.c

2005-02-14 Thread l0t3k
i've only looked at it briefly, but seems to use PHP5 method overloading to support cleaner remote calls $client = new xmlrpc($remote_ip); $result = $client-remoteMethodName($args); Andi Gutmans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey John, Didn't compare

Re: [PHP-DEV] how to make nasty code less nasty (obtaining sqlite db handle)

2005-02-04 Thread l0t3k
i found this http://www.zend.com/lists/php-dev/200204/msg01083.html Wez Furlong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The extension deps framework (that orders the initialization done in internal_functions.c) is already in HEAD; I was talking about the extension

[PHP-DEV] Re: PHP 5.1

2005-02-01 Thread l0t3k
Andi, i guess this means that proper serialization support for internal classes will have to wait till 5.2 ? l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: PHP 5.1

2005-02-01 Thread l0t3k
Andi, good enough for me. Andi Gutmans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yeah, that's what I meant. I.e. add them to not screw up the API afterwards but leave it up to the extensions to implement the callbacks when the authors have time pre or post 5.1. -- PHP

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/standard array.c

2004-11-17 Thread l0t3k
those and risk registration errors later if both extensions are used simultaneously. l0t3k Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Andi, Tuesday, November 16, 2004, 11:56:48 PM, you wrote: Marcus, I didn't see discussion about this. How much

[PHP-DEV] Issues with VS.NET

2004-11-06 Thread l0t3k
VS.NET reports project corruption (ZendTS.dsp, Zend.dsp, fastCGI.dsp, phpActivescript.dsp) when trying to load the PHP project files. Things seem ok in VC6. Unfortunately, the IDE was not specific, so i dont know enough to fix the error. l0t3k -- PHP Internals - PHP Runtime Development Mailing

[PHP-DEV] Re: php-src /ext/spl php_spl.c spl.php spl_array.c spl_array.h /ext/spl/tests spl_002.phpt /ext/standard array.c

2004-11-01 Thread l0t3k
Marcus, since you seem to be on a productivity binge, can we please have Serializable ? :-) Actually serialization needs a once-over for 5.1 . Internal class serialization is problematic at the moment. l0t3k Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] helly Mon

Re: [PHP-DEV] Re: php-src /ext/spl php_spl.c spl.php spl_array.c spl_array.h /ext/spl/tests spl_002.phpt /ext/standard array.c

2004-11-01 Thread l0t3k
Marcus Boerger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello l0t3k, it's a pain in the ass right now. I have some ideas right now but want to discuss on frankfurt conf with some others first. Generally my idea is to allow to stream into/from a single string if a certain

[PHP-DEV] Re: ZendEngine2 / README.ZEND_VM zend_compile.h zend_vm_execute.h zend_vm_gen.php

2004-10-27 Thread l0t3k
Andi, there may be a speling error in zend_vm_execute.skl specifically {%INTERANL_LABELS%} on line 8 l0t3k Andi Gutmans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] andi Wed Oct 27 13:58:47 2004 EDT Modified files: /ZendEngine2 README.ZEND_VM zend_compile.h

[PHP-DEV] Minor fix for pedantic compiler

2004-09-19 Thread l0t3k
i'm compiling a C++ extension and the smart_str macros are causing MSVC to spill warnings about converting void* to char *. Casting the return from the SMART_STR_REALLOC macro seems to fix it. #ifdef SMART_STR_USE_REALLOC -#define SMART_STR_REALLOC(a,b,c) realloc((a),(b)) +#define

[PHP-DEV] CVS account change request.

2004-09-13 Thread l0t3k
i need to commit an extension to PECL, but i havent used my CVS account in ages (since 4.0B). i dont recall my password and i've long since changed ISPs and email addresses. what do i need to do ? BTW : cvs username is ccollie l0t3k aka clayton collie -- PHP Internals - PHP Runtime Development

[PHP-DEV] Re: info needed regarding TSRM thread local storage

2004-09-09 Thread l0t3k
presume he can answer the rest of your questions. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: notes on hashes in globals

2004-09-03 Thread l0t3k
, and this should work nicely. l0t3k Alan Knowles [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If anyone has time to comment on this - it's a summary of how to store an hash of user defined structs in extension globals. http://www.akbkhome.com/wiki.php/DBDO/hashes.html I've still got to test

[PHP-DEV] php stream filters

2004-08-23 Thread l0t3k
to use it. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Win32 Build Error w HEAD

2004-08-08 Thread l0t3k
C:\projects\php-src\win32\wsyslog.c(60) : fatal error C1083: Cannot open include file: 'wsyslog.h': No such file or directory l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Win32 Build Error w HEAD

2004-08-08 Thread l0t3k
Additional info : VC6, building from .dsp , under Windows XP l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Win32 Build Error w HEAD

2004-08-08 Thread l0t3k
Wez Furlong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Use the new build system instead i'm using the IDE for debugging currently... or, fix the .dsp to generate the message cataglog using mc.exe. excuse me for being slow, but where is the message resource (source) file ?

Re: [PHP-DEV] Document call_time_pass_reference

2004-08-04 Thread l0t3k
call_time_pass_reference violates this by bypassing the programmer's explicit intention in not declaring a parameter by reference. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New construct discussion Summary

2004-07-13 Thread l0t3k
LOL. I sure as hell don't know what color to paint a nuclear power plant. flourescent green ? g -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New construct discussion Summary (was: what happened to that new isset() like language construct)

2004-07-12 Thread l0t3k
Andi Gutmans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How about default($var, expr)? my only reservation is that default is already part of a language construct : code switch ($param = $_GET[param]) { case foo : bar(); break; case this : that(); break;

[PHP-DEV] Please confirm behaviour of ZEND_ACC_STATIC

2004-07-02 Thread l0t3k
(at least for internal functions) for a method to be called statically as well as in an object context ? l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Please confirm behaviour of ZEND_ACC_STATIC

2004-07-02 Thread l0t3k
(at least for internal functions) for a method to be called statically as well as in an object context ? l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: A couple of potential security issues with sessions and glob() in safe_mode

2004-06-30 Thread l0t3k
Peter, although he hangs out here from time to time, you may want to forward this to Stefan Esser of HardenedPHP http://www.hardened-php.net/ l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Some Needed Macros for OOP extensions

2004-06-30 Thread l0t3k
currently there exists REGISTER_XXX_CONSTANT macros for procedural extensions. we need their counterparts (REGISTER_CLASS_XXX_CONSTANT) to populate the constants_table of internal classes. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

[PHP-DEV] Receiving arguments by ref...

2004-06-29 Thread l0t3k
(name); ZVAL_STRING(name, Hello World, 1); } or do we need to use z/ as a parameter specifier. 2. what does the Z (capital z) specifier to zend_parse_parameters do 3. am i stuck using the old parameter fetching API ? l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

[PHP-DEV] libxml2 and compilation under Win32

2004-06-22 Thread l0t3k
where can i get a version of libxml2 that will compile properly against CVS on win32 ? the one at zlatkovic's site was built with VC++7 but im using V6. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Pack function : a suggestion - allow array as second argument.

2004-06-13 Thread l0t3k
thanks, i hadn't noticed that. still in the interest of efficiency i think an array should be allowed. or am i the only one having to use Pack on large sets of data ? Derick Rethans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sun, 13 Jun 2004, l0t3k wrote: Why not use

[PHP-DEV] ZE2 and static methods

2004-06-09 Thread l0t3k
in an OOP extension using methods tagged as ZEND_ACC_STATIC, does ZE2 prevent them from being called statically or do i always need to do : if (!getThis()) { ERROR(Cannot call this method statically); RETURN_FALSE; } l0t3k -- PHP Internals - PHP Runtime

[PHP-DEV] That should be ZE2 and NON static methods

2004-06-09 Thread l0t3k
lets try again in an OOP extension using methods emNOT/em tagged as ZEND_ACC_STATIC, does ZE2 prevent them from being called statically or do i always need to do : if (!getThis()) { ERROR(Cannot call this method statically); RETURN_FALSE; } l0t3k -- PHP

[PHP-DEV] Re: expected __METHOD__ behavior

2004-05-21 Thread l0t3k
function. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Minor Zend Engine Niggle

2004-05-17 Thread l0t3k
and write_property handlers. l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Inheriting from internal classes

2004-05-14 Thread l0t3k
Wez and Marcus (and anyone else), is there a way with the current CVS to permit subclassing of internal, overloaded classes without seg faulting ? or is this a known problem. i ask this based on my reading of the source for PDO. l0t3k -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] ZE2 and order of initialization (quick question)

2003-11-09 Thread l0t3k
Am i correct in my understanding that the object store is not initialized before MINIT is run ? l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] ZE2 and order of initialization (quick question)

2003-11-09 Thread l0t3k
Am i correct in my understanding that the object store is not initialized before MINIT is run ? l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Repost : 64 Bit Integer support

2003-11-05 Thread l0t3k
Question : is there any one of the supported platforms that dont support a 64 bit integer type. i'm not referring to the native int size. for one i can think of Windows 95/98. i'm porting a library and i need to know this so i can determine how to proceed. l0t3k -- PHP Internals - PHP

Re: [PHP-DEV] Repost : 64 Bit Integer support

2003-11-05 Thread l0t3k
support would eliminate a significant supported platform. as i current only have access to MSVC and gcc, i wanted to do a quick shout to see if someone knew offhand which of the popular compilers would have an issue. l0t3k p.s.. its a largish codebase with 2 developers, so i wouldnt want

[PHP-DEV] [PHP-Internals] 64 bit int support

2003-11-01 Thread l0t3k
Question : is there any one of the supported platforms that dont have a 64 bit integer type. i'm not referring to the native int size. for one i can think of Windows 95/98. i'm porting a library and i need to know this so i can determine how to proceed. l0t3k -- PHP Internals - PHP Runtime

[PHP-DEV] CVS Error on Win32

2003-10-27 Thread l0t3k
Configuration: php4dllts - Win32 Debug_TS Linking... Creating library ..\Debug_TS/php4ts_debug.lib and object ..\Debug_TS/php4ts_debug.exp basic_functions.obj : error LNK2001: unresolved external symbol _zif_uudecode basic_functions.obj : error LNK2001:

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [patch] __string() method

2003-09-04 Thread l0t3k
It's just one of my trivial ideas, that why don't us make it capable of arbitrary casting operation rather than limiting it just for string casts? i agree here. this can be important for external integration e.g. Java and COM Moriyoshi -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] PHP5 - Beta 2

2003-08-18 Thread l0t3k
. thanx, l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP5 - Beta 2

2003-08-18 Thread l0t3k
. thanx, l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: implementing a JDBC like api in PHP

2003-08-08 Thread l0t3k
of the work i put into the one i was writing (currently abandoned). l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: ZendEngine2 / zend_execute.c zend_object_handlers.c zend_object_handlers.h zend_objects_API.c

2003-07-07 Thread l0t3k
Zeev, i know we're in beta, but has the API version number been bumped subsequent to these changes ? l0t3k Zeev Suraski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] zeev Mon Jul 7 06:53:28 2003 EDT Modified files: /ZendEngine2 zend_execute.c zend_object_handlers.c

[PHP-DEV] PHP5 - OO extensions and naming conventions.

2003-07-02 Thread l0t3k
having both constitute bloat. i ask because im implementing a series of classes mirroring those in the Caffeinated Language (tm) so familiarity could be an asset. l0t3k (*) i wonder if this should be more formalized before the next major release. major extensions like dom/xsl are already using

[PHP-DEV] To infinity, and Beyond !

2003-06-24 Thread l0t3k
). l0t3k -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php5 beta

2003-06-20 Thread l0t3k
.) return; } /code 3. reverting to the old parameter parsing API to handle things myself 4. do like Marcus and implement a boatload of exception-rainsing-parameter-parsing stuff myself and hope it gets into the engine g l0t3k -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] php5 beta

2003-06-20 Thread l0t3k
George Schlossnagle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday, June 20, 2003, at 10:04 AM, l0t3k wrote: Why don't use just throw an exception yourself in your extension code? I'm for errors as exceptions (obviously), but that is only necessary for legacy code

[PHP-DEV] VC6 question (extension related)

2003-06-09 Thread l0t3k
thought) from the DLL, but in the debugger all i get is NULs. is it possible to export global variables of arbitrary type in VC6, or are we limited to primitive types ? l0t3k BTW - the data is essentially a byte array prefixed by a header and TOC -- PHP Internals - PHP Runtime Development Mailing

[PHP-DEV] Re: PHP/ICU extension

2003-03-24 Thread l0t3k
For anyone interested, check out http://www.pearfr.org/~cshmoove/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] ZE2: object get_properties handler

2003-03-24 Thread l0t3k
See message above. is this supposed to return the property names or values ? In grepping the source, there seems to be only one place where the handler is called (convert_to_array() in zend_operators.c), and i cannot deduce from there alone where names or values are expected. l0t3k -- PHP

[PHP-DEV] Re: default exceptions, interfaces, etc.

2003-03-22 Thread l0t3k
ah, forget it. i just took a look at the usage of zend_register_internal_class_ex (parameter 3) note to self: Use the source, Luke ! - Original Message - From: l0t3k [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 23, 2003 2:52 AM Subject: Re: default exceptions, interfaces