alexs-mbp:~ alexfinnarn$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

alexs-mbp:~ alexfinnarn$ php -v
PHP 5.4.27 (cli) (built: Apr 15 2014 19:35:47) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

alexs-mbp:~ alexfinnarn$ brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

alexs-mbp:~ alexfinnarn$ brew list
drush		gettext		mysql		pkg-config	unixodbc
exercism	git		node		python		zlib
freetype	jpeg		openssl		readline
gdbm		libpng		php54		sqlite


Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:

    /usr/local/opt/php54/bin/php-config