Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-09 Thread Stig S. Bakken
Andrei Zmievski wrote: > > At 11:50 AM 12/8/01 +0100, Stig S. Bakken wrote: > >You mean a non-precompiled language like PHP. Technically speaking, PHP > >has been compiling for a while. > > Well, I'd call it a bytecode-compilation language, with virtual machine > execution. Not true compilation

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-08 Thread Andi Gutmans
At 11:50 AM 12/8/2001 +0100, Stig S. Bakken wrote: >Rasmus Lerdorf wrote: > > > > > >Guys, relax. No, this does not work. The only reason your example > works > > > >is because min() is a built-in PHP function already. > > > > > > > > > > man now i am crushed... i knew it wouldn't work - that

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-08 Thread Andrei Zmievski
At 11:50 AM 12/8/01 +0100, Stig S. Bakken wrote: >You mean a non-precompiled language like PHP. Technically speaking, PHP >has been compiling for a while. Well, I'd call it a bytecode-compilation language, with virtual machine execution. Not true compilation. -Andrei -- PHP Development Mail

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-08 Thread Stig S. Bakken
Rasmus Lerdorf wrote: > > > >Guys, relax. No, this does not work. The only reason your example works > > >is because min() is a built-in PHP function already. > > > > > > > man now i am crushed... i knew it wouldn't work - that's why i never > > tried. i was so amazed when i tried that i mus

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Rasmus Lerdorf
> >Guys, relax. No, this does not work. The only reason your example works > >is because min() is a built-in PHP function already. > > > > man now i am crushed... i knew it wouldn't work - that's why i never > tried. i was so amazed when i tried that i must have been blind to the fact > th

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Markus Fischer
On Fri, Dec 07, 2001 at 06:13:49PM -0600, Matt McClanahan wrote : > On Fri, Dec 07, 2001 at 06:43:31PM -0500, benjamin yates wrote: > > > >Most people never mix XML and PHP in the same file. Let's not > > >inconvenience the masses for the benefit of the few. > > >-Rasmus > > > > > > Yet anothe

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread benjamin yates
>Guys, relax. No, this does not work. The only reason your example works >is because min() is a built-in PHP function already. > man now i am crushed... i knew it wouldn't work - that's why i never tried. i was so amazed when i tried that i must have been blind to the fact that i chose a b

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Joao Prado Maia
On Fri, 7 Dec 2001, Rasmus Lerdorf wrote: > Guys, relax. No, this does not work. The only reason your example works > is because min() is a built-in PHP function already. > Hmm, damnit. I hate looking like a fool ;) Joao -- João Prado Maia <[EMAIL PROTECTED]> http://phpbrasil.com - php com

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Rasmus Lerdorf
Guys, relax. No, this does not work. The only reason your example works is because min() is a built-in PHP function already. -Rasmus On Fri, 7 Dec 2001, Joao Prado Maia wrote: > > On Fri, 7 Dec 2001, benjamin yates wrote: > > > > > a way to create the same as a #define macro... man would

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Joao Prado Maia
On Fri, 7 Dec 2001, benjamin yates wrote: > > > a way to create the same as a #define macro... man would that be nice. > > > >define() > > " > define( 'MIN(a,b)', ((a)<(b)?(a):(b)) ); ? i don't think so... if you > know a way to do it then you'll be my favorite person for the week :) > " > >

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread benjamin yates
> > please never get rid of them... typing... > > and i thought php largely about rapid development :) > >Three extra characters? Surely there are more significant issues in >development to fret over than this. it's a big difference... the first two chars are both shifted, next to the shift

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Matt McClanahan
On Fri, Dec 07, 2001 at 06:43:31PM -0500, benjamin yates wrote: > >Most people never mix XML and PHP in the same file. Let's not > >inconvenience the masses for the benefit of the few. > >-Rasmus > > > > Yet another good reason to get rid of them. :) > > > --Jani > > please never get rid of

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread benjamin yates
>Most people never mix XML and PHP in the same file. Let's not >inconvenience the masses for the benefit of the few. >-Rasmus > > Yet another good reason to get rid of them. :) > > --Jani please never get rid of them... http://explorer.msn.com/intl.asp -- PHP Development Mailing List

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Rasmus Lerdorf
Most people never mix XML and PHP in the same file. Let's not inconvenience the masses for the benefit of the few. -Rasmus On Sat, 8 Dec 2001, Jani Taskinen wrote: > > Yet another good reason to get rid of them. :) > > --Jani > > > On Fri, 7 Dec 2001, Rasmus Lerdorf wrote: > > >No, you

Re: [PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Jani Taskinen
Yet another good reason to get rid of them. :) --Jani On Fri, 7 Dec 2001, Rasmus Lerdorf wrote: >No, you need to disable short_tags and use for all your PHP >tags if you are going to mix PHP and XML tags in the same file. > >-Rasmus > >On Fri, 7 Dec 2001, Steve Haemelinck wrote: > >> Hi Guys

[PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Erik Price
I thought that short tags were illegal in XHTML and XML. But I could be wrong. On Friday, December 7, 2001, at 01:53 PM, Steve Haemelinck wrote: > Hi Guys > > I am developing with PHP and XML. Now I experience some problem with the > processing instructions of xml () > which causes PHP to retu

[PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Mike Eheler
You could also do it like: ' ?> Mike Steve Haemelinck wrote: >Hi Guys > >I am developing with PHP and XML. Now I experience some problem with the >processing instructions of xml () >which causes PHP to return a parsing error. >This is logical because PHP. Does anybody got an idea how to solve

[PHP-DEV] Re: [PHP] PHP & XML

2001-12-07 Thread Rasmus Lerdorf
No, you need to disable short_tags and use for all your PHP tags if you are going to mix PHP and XML tags in the same file. -Rasmus On Fri, 7 Dec 2001, Steve Haemelinck wrote: > Hi Guys > > I am developing with PHP and XML. Now I experience some problem with the > processing instructions of