PHP's Weakness is ZEND - 2.0 fixed a lot of problems, but there have been
large amounts of talk about completely separating from the Zend Engine
altogether and using the same interpreter that PERL Uses as the
foundation - which I am in favor of - and I will help with if the decision is made.<br><br>The curly brace and breaking in and out of PHP - no worries Michael PHP 6 is likely going to remove the braces being optional - if you interrupt a command you break the interpreter. (you can't leave code within a block) - I see what you mean by it being an inconsistency however.<br>
<br><?php<br>function myfunc ?> <htmltag> <?php () {<br><br>}<br><br>---- Obviously INVALID.<br><br>Zend has a bug currently in the release of 5.2.9 like so:<br><br><?php $mystring = "string" . 'string' . "string $var" . (4+5) . 'hi'; ?> = works <br>
<?php
$mystring = "string" . 'string' . "string $var" . (4+5) . 'hi' = works
(one liners don't need an semicolon or a closing brace if its the end
of the file)<br><?php $mystring = "string" . 'string' . "string
$var" . {4+5} . 'hi'; ?> = crashes the Zend Interpreter with
"UNKNOWN COMPILE ERROR"<br>- The curly braces are obviously void - but
the fact that for some reason concatenation and braces causes it to
break to a point of not generating a line notice is beyond me.<br><br>The
only other similar language offering in the Microsoft or .NET world is
VB for rapid development and don't even get me started.<br><br>Its open source, why not contribute and help the PHP community fix the issue!! :) <br><br><div class="gmail_quote">On Thu, Jul 16, 2009 at 8:57 PM, Michael Mol <span dir="ltr"><<a href="mailto:mikemol@gmail.com">mikemol@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, Jul 16, 2009 at 8:52 PM, Ben DeMott<<a href="mailto:ben.demott@gmail.com">ben.demott@gmail.com</a>> wrote:<br>
> Yeah many many many games use Python has a configuration language.<br>
> (Speaking from personal experience) - Games take too long to compile, so<br>
> changing things that have to be tweaked like AI takes FOREVER.<br>
> So instead you embed python into C/C++ and then modify the python.<br>
><br>
> Most DICE-developed games use Python as a configuration language.<br>
> (Battlefield2, Bad Company, Mirrors Edge, etc)<br>
<br>
</div>PyGame used to have some great games written around it. My favorite<br>
was Solarwolf. Used to keep it on my laptop and play it all the time.<br>
Had a nasty issue with timing loops or something, though; Once I<br>
started using it on multi-core machines, it'd stutter each time it got<br>
scheduled to a different core, likely due cpu frequency scaling.<br>
<font color="#888888"><br>
--<br>
:wq<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
</div></div></blockquote></div><br>