automatically conver javascript into PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
wvoyance
Forum Contributor
Posts: 135
Joined: Tue Apr 17, 2012 8:24 pm

automatically conver javascript into PHP

Post by wvoyance »

Very often we need some functions which are the same on javascript and PHP.
Is there any such program that can automatically convert javascript into PHP, or vice versa?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: automatically conver javascript into PHP

Post by requinix »

wvoyance wrote:Very often we need some functions which are the same on javascript and PHP.
Oh really?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: automatically conver javascript into PHP

Post by Christopher »

Maybe you could use php.js to make the job easier. It would make your javascript functions very similar to PHP code.

http://phpjs.org/
(#10850)
Post Reply