[PHP] PHP Source files
I'm wondering if anyone knows where I can find information about how PHP parser processes commands like: $a=$b+$c; if ($b $a) {} (Ones with operators) I've downloaded the source code, but I'm having much luck narrowing down my search. Can anyone help me?? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Source files
Umm, maybe I'm confused, but here's an answer, not sure if it's right: The code in the braces will never be executed because $a will always be ateast $b if not greater (assuming $c has a value) which means that it couldn't be greater, however it could be = if $c was 0. Adam Voigt [EMAIL PROTECTED] On Mon, 2002-09-09 at 12:40, OrangeHairedBoy wrote: I'm wondering if anyone knows where I can find information about how PHP parser processes commands like: $a=$b+$c; if ($b $a) {} (Ones with operators) I've downloaded the source code, but I'm having much luck narrowing down my search. Can anyone help me?? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Source files
From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 12:41 PM Subject: [PHP] PHP Source files I'm wondering if anyone knows where I can find information about how PHP parser processes commands like: $a=$b+$c; if ($b $a) {} (Ones with operators) I've downloaded the source code, but I'm having much luck narrowing down my search. Can anyone help me?? http://www.php.net/manual/en/language.operators.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Source files
No, but that's ok... What am looking to learn is HOW php makes those kind of expressiong work. I know how to write php intematly, but I'd like to know where in the downloadable PHP source code it processes these statements. Any help on that?? Lewis Adam Voigt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Umm, maybe I'm confused, but here's an answer, not sure if it's right: The code in the braces will never be executed because $a will always be ateast $b if not greater (assuming $c has a value) which means that it couldn't be greater, however it could be = if $c was 0. Adam Voigt [EMAIL PROTECTED] On Mon, 2002-09-09 at 12:40, OrangeHairedBoy wrote: I'm wondering if anyone knows where I can find information about how PHP parser processes commands like: $a=$b+$c; if ($b $a) {} (Ones with operators) I've downloaded the source code, but I'm having much luck narrowing down my search. Can anyone help me?? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Source files
I know how to use these statements. What I'd like to know is how the PHP parser makes it happen. Where in the downloadble PHP source code is the C code that actually reads the statement, figures out what needs to happen, and makes it happen? Can you help me on this? Lewis Matt Schroebel [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 12:41 PM Subject: [PHP] PHP Source files I'm wondering if anyone knows where I can find information about how PHP parser processes commands like: $a=$b+$c; if ($b $a) {} (Ones with operators) I've downloaded the source code, but I'm having much luck narrowing down my search. Can anyone help me?? http://www.php.net/manual/en/language.operators.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Source files
Oh, ok, I was wondering cause I thought the question was fairly basic, as for where in the actual source code to PHP expressions are processed I have no idea. I bet they know in the php-dev mailing list though, you might want to try there. Adam Voigt [EMAIL PROTECTED] On Mon, 2002-09-09 at 12:55, OrangeHairedBoy wrote: No, but that's ok... What am looking to learn is HOW php makes those kind of expressiong work. I know how to write php intematly, but I'd like to know where in the downloadable PHP source code it processes these statements. Any help on that?? Lewis Adam Voigt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Umm, maybe I'm confused, but here's an answer, not sure if it's right: The code in the braces will never be executed because $a will always be ateast $b if not greater (assuming $c has a value) which means that it couldn't be greater, however it could be = if $c was 0. Adam Voigt [EMAIL PROTECTED] On Mon, 2002-09-09 at 12:40, OrangeHairedBoy wrote: I'm wondering if anyone knows where I can find information about how PHP parser processes commands like: $a=$b+$c; if ($b $a) {} (Ones with operators) I've downloaded the source code, but I'm having much luck narrowing down my search. Can anyone help me?? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Source files
Hey, that's a starting point!!! :) Thanks Adam Voigt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Oh, ok, I was wondering cause I thought the question was fairly basic, as for where in the actual source code to PHP expressions are processed I have no idea. I bet they know in the php-dev mailing list though, you might want to try there. Adam Voigt [EMAIL PROTECTED] On Mon, 2002-09-09 at 12:55, OrangeHairedBoy wrote: No, but that's ok... What am looking to learn is HOW php makes those kind of expressiong work. I know how to write php intematly, but I'd like to know where in the downloadable PHP source code it processes these statements. Any help on that?? Lewis Adam Voigt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Umm, maybe I'm confused, but here's an answer, not sure if it's right: The code in the braces will never be executed because $a will always be ateast $b if not greater (assuming $c has a value) which means that it couldn't be greater, however it could be = if $c was 0. Adam Voigt [EMAIL PROTECTED] On Mon, 2002-09-09 at 12:40, OrangeHairedBoy wrote: I'm wondering if anyone knows where I can find information about how PHP parser processes commands like: $a=$b+$c; if ($b $a) {} (Ones with operators) I've downloaded the source code, but I'm having much luck narrowing down my search. Can anyone help me?? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Source files
Hi Adam, Am Montag den, 9. September 2002, um 18:45, schrieb Adam Voigt: The code in the braces will never be executed because $a will always be ateast $b if not greater (assuming $c has a value) which means that it couldn't be greater, however it could be = if $c was 0. $c could also have a negative value :-) Hi orange boy, I think there is a mailing list for PHP developers (i.e. developers _of_ PHP) on PHP.net. But I am not sure if you will get the answer you want. Timo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php