When comparing PHP vs Font Awesome, the Slant community recommends Font Awesome for most people. In the question“What are the best web design tools?” Font Awesome is ranked 5th while PHP is ranked 26th. The most important reason people chose Font Awesome is:
There is a wide range of web-related icons to choose from. Categories include web-application, directional, transportation and brand icons. See the full list of icons [here](http://fortawesome.github.io/Font-Awesome/icons/).
Ranked in these QuestionsQuestion Ranking
Pro One of the most common languages
According to the 2015 Stack Overflow Developer Survey (26,086 people surveyed), PHP was the 5th most popular/used language at 29.7%.
Pro Lots of tutorials online
Pro Used by most common CMS platforms
Many clients are looking for an easy-to-update web site that's flexible and free. Drupal and Wordpress fill those needs very well.
Pro Most prominent language for web applications
Part of the de facto standard web application stack.
Pro Great third-party package manager
PHP standard library is somewhat subpar, but if you need plugins, language features, composer has them all( you can even puzzle together a custom framework from composer).
Since 7.x was released, PHP has become a pretty fast language.
Pro Lots of PHP frameworks available which help with development
PHP people love frameworks, and with frameworks such as Laravel, you can build a web app or API really fast (Facades, ORMs, scaffolding etc.)
Pro Great documentation
Pro Large variety of icons
There is a wide range of web-related icons to choose from. Categories include web-application, directional, transportation and brand icons. See the full list of icons here.
Pro 3332 icons to choose from
Font Awesome 5.1 offers 1264 free and 2068 payed icons.
Pro Easy to use
Pro Designed to be used with Bootstrap
Font Awesome can be used with any framework, however it's especially easy to use with Bootstrap.
Pro Continuously updated
Pro MIT licence for the code
Pro Can employ tree shaking to not bundle unused icons
Pro IE7 support with older versions
IE7 support has been removed from Font Awesome 4.4.0. However you can still use an older version for IE7 support.
Pro Customizable icons through stacking
Icons in Font Awesome can be restyled by stacking different borders and background to modify their meaning. For example, any icon can be turned into a bullet point by stacking it on a circle, or converted into its negative by stacking a red cancel icon on top of it.
Pro Font Aweseome 5 is here with over 929 icons and counting
The Pro version is very reasonable and gives you access to 2316 icons and counting. Across 3 weights! Very Nice!
Pro Screen reader compatible
Other font icons have been known to have issues with this.
Con Poorly designed language
Despite its widespread use, PHP is generally looked upon poorly from a design point of view. The consistency of function names and function argument order, lazily and borderline non-functional implementation of object oriented programming, can only receive requests via POST methods, slow version adoption (the PHP you learn right now may not work on every webserver you'll work on), and a focus on "hacking things together" rather than "doing it right". These are all very common complaints when it comes to working with PHP. While not a bad language to learn, PHP is not at all a good language to learn first, as it will probably teach bad habits.
Con Immense catalog of insecure frameworks
The most serious security problems in websites on the web today are almost universally found in popular PHP frameworks, CMS platforms, libraries and code samples, almost all stemming from poor language design, bad tutorials and awful resources.
Con After python, probably one of the worst languages ever
Con Poorly designed language, awful syntax & luckily on the decline
Nobody in their right mind is using PHP for new software, if you decide to learn it as your first language you'll be stuck working in teams with old developers who have had no interest in the computer programming field since they landed their first job while maintaining some 2000 era archaic website codebase.
Con Most tutorials are out of date
A lot of very bad tutorials are still widely circulated among beginners, and these tutorials teach very poor programming practices.
Con Most resources are poorly-written
Few resources exemplify the "correct" or secure use of features.
Con Interpreter being too permissive
If you forget the dollar sign, the variable name will be converted to a string.
Con Too expensive
The icons I need are in the pay plan.
Con You will never use all icons
This means you'll have a lot of useless data (unused icons) being load into your application.