Does anyone know of a PHP to ActionScript code converter?
+1
A:
They are fundamentally different languages. I don't think a converter exists. The fourth dimension of time doesn't even exist in PHP.
zodeus
2009-03-03 23:33:25
A:
I highly doubt it. Once you get beyond the basic functionality it would be almost impossible to "translate" one to the other. PHP has thousands of standard built-in functions, custom AS implementations of all of those would have to be written.
Was there something in particular you're trying to do?
Chad Birch
2009-03-03 23:34:49
I need to convert a bunch of functions that do basic math calculations.
lajos
2009-03-04 02:29:02
Chances are that those functions actually are pretty similar. Similar, though. Not identical! But you might get the work done over a couple of beers one afternoon.
Martin
2009-03-09 17:04:43
+3
A:
Not exactly, but the haxe language http://haxe.org/ will compile to both Actionscript and PHP.
Daniel Von Fange
2009-03-03 23:37:30