Reply
PHP vs. JavaScript table
Old 01-16-2009, 09:46 AM PHP vs. JavaScript table
scu
Junior Talker

Posts: 2
Trades: 0
I've been searching for a table that shows the differences in function names, methods, attributing etc. between the two languages. What I mean by that is a table that looks like this:


concat string-------- Javascript: + -----------PHP: .------
length of string ------ Javascript: string.length --------- PHP: strlen

Whenever I loose my mind because of looking in files that contains both, I look at this table and rearrange my thoughts.
scu is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 01-16-2009, 12:33 PM Re: PHP vs. JavaScript table
Inet411's Avatar
Skilled Talker

Posts: 88
Name: programmer
Location: internet
Trades: 0
I don't know of one but that would be great./
Inet411 is offline
Reply With Quote
View Public Profile Visit Inet411's homepage!
 
Old 01-17-2009, 12:43 PM Re: PHP vs. JavaScript table
Inet411's Avatar
Skilled Talker

Posts: 88
Name: programmer
Location: internet
Trades: 0
Hi scu,
I found this:
http://phpjs.org/
you can download the js here:
http://phpjs.org/compiled/php.js
Not exactly what you were looking for but its javascript with function named the same as php's functions.
ie if you want to explode in javascript you would normally use split but with this js library you want use explode in javascript.

Hope this helps.
Inet411 is offline
Reply With Quote
View Public Profile Visit Inet411's homepage!
 
Old 01-17-2009, 07:58 PM Re: PHP vs. JavaScript table
scu
Junior Talker

Posts: 2
Trades: 0
Interesting. It's not something useful for my current work, but it will surely be in a while. The idea is that I debug some scripts in js that are related to parts of php. And sometimes gets a little frustrating when everything seems plain and you need to modify something. That's when is needed such a table.

Thanks for the link.
scu is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP vs. JavaScript table
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.11007 seconds with 13 queries