Re: [PHP-DEV] LCC compiler

2002-11-15 Thread Jason T. Greene
Cool, I will have to try that. Thanks!! -Jason On Fri, 2002-11-15 at 09:11, Andi Gutmans wrote: Hey, Has anyone managed to get php to compile with lcc? It compiles much faster and therefore is good for development. Andi -- Jason T. Greene [EMAIL PROTECTED] -- PHP Development Mailing

Re: [PHP-DEV] 64-bit PHP 4.3 (extensive long vs int problems)

2002-11-11 Thread Jason T. Greene
Why not just convert to using a long? Is there really a need to have 2 numeric types in the ini system? -Jason On Mon, 2002-11-11 at 00:20, Andi Gutmans wrote: Hi, How about changing the INI_ENTRY macros in debug mode to check if we're using UpdateInt/UpdateLong and if so check if

Re: [PHP-DEV] 64-bit PHP 4.3 (extensive long vs int problems)

2002-11-11 Thread Jason T. Greene
. -Jason On Mon, 2002-11-11 at 10:42, Jason T. Greene wrote: Why not just convert to using a long? Is there really a need to have 2 numeric types in the ini system? -Jason On Mon, 2002-11-11 at 00:20, Andi Gutmans wrote: Hi, How about changing the INI_ENTRY macros in debug mode

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Jason T. Greene
:39 AM 10/29/2002 -0600, Jason T. Greene wrote: On Thu, 2002-10-24 at 09:51, David M. Lloyd wrote: On Thu, 24 Oct 2002, Andi Gutmans wrote: At 02:49 PM 10/23/2002 -0500, David M. Lloyd wrote: The reality of twos-complement, bitwise arithmatic is that there are three basic shift

RE: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Jason T. Greene
on this list which isn't necessarily the average PHP user. Andi At 11:39 AM 10/29/2002 -0600, Jason T. Greene wrote: On Thu, 2002-10-24 at 09:51, David M. Lloyd wrote: On Thu, 24 Oct 2002, Andi Gutmans wrote: At 02:49 PM 10/23/2002 -0500, David M. Lloyd wrote

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-29 Thread Jason T. Greene
... then let's not put in the nonsense operator, and just have three shift operations: , , and . I agree - D [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -Jason -- Jason T. Greene [EMAIL PROTECTED

Re: [PHP-DEV] linking php code to html link

2002-10-24 Thread Jason T. Greene
buy a book. -Jason -- Jason T. Greene [EMAIL PROTECTED] [EMAIL PROTECTED] On Thu, 2002-10-24 at 17:10, Alan Rawkins wrote: Hi there, I'm wondering if there is a way to attach a php function to an html a href tag. I basically want to have a button, that when clicked

Re: [PHP-DEV] Unsigned Problems Revisited

2002-10-23 Thread Jason T. Greene
October 2002 19:23, Jason T. Greene wrote: If for some reason we HAVE to have a symmetrical bogus unsigned left shift operator, and we completely disagree with my arguments on overloading the HEREDOC operator, then we can implement , =, . = as the unsigned shift operators

Re: [PHP-DEV] Binary Safety, Sockets and Raw sockets

2002-09-23 Thread Jason T. Greene
On Sat, 2002-09-21 at 00:21, Hans Zaunere wrote: 4.2.3 on FreeBSD 4.6.2 (--enable-cli,--enable-sockets,etc) I've been taking a look at the socket_* functions in PHP, and specifically using raw sockets. I've started out with ICMP, and I can form the ICMP header (more or less) and

Re: [PHP-DEV] Re: sockets extension...pecl it

2002-09-11 Thread Jason T. Greene
What I was saying in my earlier email much longer drawn out email was, that the API changes have been really final since version 4.2.0. The only reason I would change it, would be if someone demonstrated a problem with the interface, which no one has for 4.2.0 - 4.2.3 versions. The only API

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Jason T. Greene
Doesn't this currently work without your patch? -Jason On Thu, 2002-08-08 at 02:49, Alan Knowles wrote: this efree needs removing.. + +efree(*call_name); +DEBUG_OUT(done call_user function\n); +

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Jason T. Greene
-08-12 at 08:38, Alan Knowles wrote: Jason T. Greene wrote: Doesn't this currently work without your patch? it does if we add O_ASYNC to the defines in dio the pcntl patch just fixes class based callbacks.. *the memory leaks I mentioned earlier where due to creating the signal connections

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-01 Thread Jason T. Greene
On Thu, 2002-08-01 at 08:04, [EMAIL PROTECTED] wrote: On 31 Jul 2002, Jason T. Greene wrote: Instead of mutexing the entire interpreter to death, why don't you try creating multiple interpreters (each in a thread), and then come up with a sharing mechanism. Sounds like duplication

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-01 Thread Jason T. Greene
On Thu, 2002-08-01 at 04:43, Alan Knowles wrote: It's not about looking at the perl code, that will tell you nothing unless you know perl internals. It's about the way the interpreter works, some of the architecture, that is simular to PHP. In PHP, threads are isolated, kind of

Re: [PHP-DEV] Implementing Threading: Some Hints (Was Re: [PHP-DEV]phpthreads - hints anyone...)

2002-08-01 Thread Jason T. Greene
To make threading useful, you would need to somehow arrange for multiple threads to access the same underlying zval data without blocking all the threads. This just isn't possible AFAIK. Yes, this is definitely not possible without greatly modifying the engine's zval management (which would

Re: [PHP-DEV] phpthreads - hints anyone...

2002-07-31 Thread Jason T. Greene
Instead of mutexing the entire interpreter to death, why don't you try creating multiple interpreters (each in a thread), and then come up with a sharing mechanism. -Jason On Wed, 2002-07-31 at 03:57, Alan Knowles wrote: Im looking at adding threading to php, (for the cgi/cli stuff).. The

Re: [PHP-DEV] How do you format a string with tabbed output toprint in the browser? Nothing seems to work!

2002-07-08 Thread Jason T. Greene
Gina, This list is for the development OF php not with php, please post questions like these to [EMAIL PROTECTED] -Jason On Mon, 2002-07-08 at 14:17, Planet Internet Nieuws wrote: I've tried everything I can think of including variations with \t in a printf(), chr(9), etc. I am trying to

[PHP-DEV] Jason back from vacation

2002-07-01 Thread Jason T. Greene
Everyone, I am finally back from vacation, and I will be playing catch-up for a while.(my email box has over 1000 msgs and I have missed about 1928 php-dev posts, I am sure the equiv CVS posts. ) Please give me some time to catch up. Thanks, -Jason -- PHP Development Mailing List

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in thefuture

2002-06-07 Thread Jason T. Greene
IMO, one of the big reasons for having a powerful OO mode, and continually evolving php to have a bigger target than just a web programming language, is code re-usability. You can design a nice consistent Framework, and easily rollout web, gui, and back end applications all using the same

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in thefuture

2002-06-07 Thread Jason T. Greene
, and it'll be even better in 5 - PEAR is a clear demonstration of this. Whether people actually end up reusing code depends on the way they code, very little does it depend on the language. Zeev At 05:27 PM 6/7/2002, Jason T. Greene wrote: IMO, one of the big reasons for having a powerful OO

Re: [PHP-DEV] Re: Patch-tastic!

2002-06-05 Thread Jason T. Greene
If '+' concatenates what does '-' do? : ) -Jason On Wed, 2002-06-05 at 09:39, Andrei Zmievski wrote: The latest one changes some operators. Nice, but why not overload + for strings to do the concatenation? Doing that would be ambiguous, to say the least. PHP automatically

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH]Allow constants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
. Bakken wrote: If this patch doesn't break anything, and it doesn't give us any difficulties with ZE2 or major design issues, I'm +1. - Stig On Tue, 2002-05-28 at 21:12, Jason T. Greene wrote: Due to this patch being sent during the msession discussion, it has not been noticed, so I am

Re: [Fwd: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT][PATCH] Allow constants / expressions to be passed by reference]]

2002-05-29 Thread Jason T. Greene
Yes and as I said in my argument, this solves some of the problems but does not solve a non-rightmost parameter being optional. -Jason On Wed, 2002-05-29 at 11:43, Sebastian Bergmann wrote: Hamster ate my mail? Resent, just in case. Sebastian Bergmann wrote: brad lafountain wrote:

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allowconstants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
Even if it is semantically incorrect( which I disagree.) How is allowing a constant/expression to be passed by reference more semantically incorrect than allowing a default (which is a constant) on a pass by reference argument? -Jason On Wed, 2002-05-29 at 10:53, Sebastian Bergmann wrote:

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH]Allow constants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
On Wed, 2002-05-29 at 13:53, Andi Gutmans wrote: Okay I'll try and look at your patch in the next couple of days. It's quite sensitive code which this changes (has harmless as it might seem) so I need some time to read over it. Thanks, I did test this very thoroughly. However, due to its

[PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed byreference]

2002-05-28 Thread Jason T. Greene
Due to this patch being sent during the msession discussion, it has not been noticed, so I am resending. -Jason ---BeginMessage--- Problem --- There are some scenarios where a function requires the ability to modify parameters that may also be optional. Optional parameters work well,

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 03:13, Zeev Suraski wrote: Jason, He has a point in the sense that it's trivially easy to starve a PHP based web server from within, safe mode enabled or not. What you describe as the automated way in which the web server will overcome this attack is not realistic

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 04:11, Zeev Suraski wrote: At 11:42 13/05/2002, veins wrote: He has a point in the sense that it's trivially easy to starve a PHP based web server from within, safe mode enabled or not. What you describe as the automated way in which the web server will overcome

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
I very much agree : ) -Jason On Mon, 2002-05-13 at 03:42, veins wrote: He has a point in the sense that it's trivially easy to starve a PHP based web server from within, safe mode enabled or not. What you describe as the automated way in which the web server will overcome this attack is

Re: [PHP-DEV] Safe Mode

2002-05-15 Thread Jason T. Greene
On Mon, 2002-05-13 at 09:54, Ilia A. wrote: Now you are really starting to stretch it. I am sure the ratio of customers that have db backends are much smaller than general webhosting customers PHP is very commonly used with a database (MySQL). I'd venture to say that 70% of people who

[PHP-DEV] Re: Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jason T . Greene
From: Jeroen van Wolffelaar [EMAIL PROTECTED] Date: 2001/09/10 Mon PM 01:58:03 CDT To: Vlad Krupin [EMAIL PROTECTED], Alexander Wirtz [EMAIL PROTECTED] CC: Jason Greene [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], Andrei Zmievski [EMAIL PROTECTED],

[PHP-DEV] Re: Re: sysvsem extention question

2001-08-23 Thread Jason T . Greene
Last, i don't see why the implementation as exists, requires 3 semaphores. I just looked over the code, and the reason for this is it specifically designed for a multi-process web environment. The most common method for semaphore initialization is in the parent process right before

[PHP-DEV] Re: Re: sysvsem extention question

2001-08-23 Thread Jason T . Greene
As far as creating the new module goes, it shouldn't be 'to much effort'. The basic implimentation of system v semaphores is actualy quite simple, its the usage of sempahores that can be very confusing :-) sysv sem's are often refered to as the most difficult to comprehend of the sysv