Yep, not just web languages though.
There are differences, manly additions or additional 'features' that some languages put in, but I find that learning pattern matching is about the same overall.
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php