PHP has Thousands of Functions related to Web Development baked right in from Simple Ones like filter_var()
, htmlentities()
to json_encode()
similar_text()
and levenshtein()
distance for Percentage matching. There are so many array()
and string()
functions that it is really mind-blowing !
Now comes complete OOP support in PHP5 and Native Unicode in PHP6.
Because try writing for example a Cookie in Java or a Servlet and you know what I am talking about. For String and Array handling most probably I am inventing some for-loop Algorithm in Java when in PHP I always find some ready-made function. Recent examples for me have been array_count_values()
[Nothing similar in Java for finding aggregate of a Cart] and array_chunk()
[ Try wrestling with Java Tokenizers here] . similar_text()
Function in PHP is itself a beauty when you need to find How much 2 Strings matcheach other percentage-wise.
Does any other Web Development Language has such Vastness and Sheer Expanse as PHP ?
There is no language better than another.
There is one language which fits your application requirements and knowledge better, and that's the one you should choose.
精彩评论