3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( get_loaded_extensions());
Output for 7.0.20 - 7.2.0
array(34) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(6) "libxml" [3]=> string(7) "openssl" [4]=> string(4) "pcre" [5]=> string(7) "sqlite3" [6]=> string(4) "zlib" [7]=> string(8) "calendar" [8]=> string(5) "ctype" [9]=> string(3) "dom" [10]=> string(8) "fileinfo" [11]=> string(6) "filter" [12]=> string(7) "gettext" [13]=> string(4) "hash" [14]=> string(4) "json" [15]=> string(8) "mbstring" [16]=> string(3) "SPL" [17]=> string(3) "PDO" [18]=> string(10) "pdo_sqlite" [19]=> string(7) "session" [20]=> string(5) "posix" [21]=> string(10) "Reflection" [22]=> string(8) "standard" [23]=> string(9) "SimpleXML" [24]=> string(4) "Phar" [25]=> string(9) "tokenizer" [26]=> string(3) "xml" [27]=> string(9) "xmlreader" [28]=> string(9) "xmlwriter" [29]=> string(3) "gmp" [30]=> string(5) "iconv" [31]=> string(4) "intl" [32]=> string(6) "bcmath" [33]=> string(12) "Zend OPcache" }
Output for 7.0.6
array(32) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(6) "libxml" [3]=> string(7) "openssl" [4]=> string(4) "pcre" [5]=> string(7) "sqlite3" [6]=> string(4) "zlib" [7]=> string(8) "calendar" [8]=> string(5) "ctype" [9]=> string(3) "dom" [10]=> string(8) "fileinfo" [11]=> string(6) "filter" [12]=> string(7) "gettext" [13]=> string(4) "hash" [14]=> string(4) "json" [15]=> string(8) "mbstring" [16]=> string(3) "SPL" [17]=> string(3) "PDO" [18]=> string(10) "pdo_sqlite" [19]=> string(7) "session" [20]=> string(5) "posix" [21]=> string(10) "Reflection" [22]=> string(8) "standard" [23]=> string(9) "SimpleXML" [24]=> string(4) "Phar" [25]=> string(9) "tokenizer" [26]=> string(3) "xml" [27]=> string(9) "xmlreader" [28]=> string(9) "xmlwriter" [29]=> string(4) "intl" [30]=> string(6) "bcmath" [31]=> string(12) "Zend OPcache" }
Output for 7.0.5
array(32) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(6) "libxml" [3]=> string(7) "openssl" [4]=> string(4) "pcre" [5]=> string(7) "sqlite3" [6]=> string(4) "zlib" [7]=> string(8) "calendar" [8]=> string(5) "ctype" [9]=> string(3) "dom" [10]=> string(8) "fileinfo" [11]=> string(6) "filter" [12]=> string(7) "gettext" [13]=> string(3) "gmp" [14]=> string(4) "hash" [15]=> string(5) "iconv" [16]=> string(4) "json" [17]=> string(8) "mbstring" [18]=> string(6) "mcrypt" [19]=> string(3) "SPL" [20]=> string(3) "PDO" [21]=> string(10) "pdo_sqlite" [22]=> string(7) "session" [23]=> string(5) "posix" [24]=> string(10) "Reflection" [25]=> string(8) "standard" [26]=> string(9) "SimpleXML" [27]=> string(4) "Phar" [28]=> string(9) "tokenizer" [29]=> string(3) "xml" [30]=> string(9) "xmlreader" [31]=> string(9) "xmlwriter" }
Output for 7.0.0 - 7.0.4
array(34) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(6) "libxml" [3]=> string(7) "openssl" [4]=> string(4) "pcre" [5]=> string(7) "sqlite3" [6]=> string(4) "zlib" [7]=> string(6) "bcmath" [8]=> string(8) "calendar" [9]=> string(5) "ctype" [10]=> string(3) "dom" [11]=> string(8) "fileinfo" [12]=> string(6) "filter" [13]=> string(7) "gettext" [14]=> string(3) "gmp" [15]=> string(4) "hash" [16]=> string(5) "iconv" [17]=> string(4) "intl" [18]=> string(4) "json" [19]=> string(8) "mbstring" [20]=> string(6) "mcrypt" [21]=> string(3) "SPL" [22]=> string(3) "PDO" [23]=> string(10) "pdo_sqlite" [24]=> string(7) "session" [25]=> string(5) "posix" [26]=> string(10) "Reflection" [27]=> string(8) "standard" [28]=> string(9) "SimpleXML" [29]=> string(4) "Phar" [30]=> string(9) "tokenizer" [31]=> string(3) "xml" [32]=> string(9) "xmlreader" [33]=> string(9) "xmlwriter" }
Output for 5.6.28
array(35) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(4) "ereg" [3]=> string(6) "libxml" [4]=> string(7) "openssl" [5]=> string(4) "pcre" [6]=> string(7) "sqlite3" [7]=> string(4) "zlib" [8]=> string(8) "calendar" [9]=> string(5) "ctype" [10]=> string(3) "dom" [11]=> string(8) "fileinfo" [12]=> string(6) "filter" [13]=> string(7) "gettext" [14]=> string(4) "hash" [15]=> string(4) "json" [16]=> string(8) "mbstring" [17]=> string(3) "SPL" [18]=> string(3) "PDO" [19]=> string(10) "pdo_sqlite" [20]=> string(7) "session" [21]=> string(5) "posix" [22]=> string(10) "Reflection" [23]=> string(8) "standard" [24]=> string(9) "SimpleXML" [25]=> string(4) "Phar" [26]=> string(9) "tokenizer" [27]=> string(3) "xml" [28]=> string(9) "xmlreader" [29]=> string(9) "xmlwriter" [30]=> string(3) "gmp" [31]=> string(5) "iconv" [32]=> string(4) "intl" [33]=> string(6) "bcmath" [34]=> string(12) "Zend OPcache" }
Output for 5.5.35, 5.6.21
array(33) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(4) "ereg" [3]=> string(6) "libxml" [4]=> string(7) "openssl" [5]=> string(4) "pcre" [6]=> string(7) "sqlite3" [7]=> string(4) "zlib" [8]=> string(8) "calendar" [9]=> string(5) "ctype" [10]=> string(3) "dom" [11]=> string(8) "fileinfo" [12]=> string(6) "filter" [13]=> string(7) "gettext" [14]=> string(4) "hash" [15]=> string(4) "json" [16]=> string(8) "mbstring" [17]=> string(3) "SPL" [18]=> string(3) "PDO" [19]=> string(10) "pdo_sqlite" [20]=> string(7) "session" [21]=> string(5) "posix" [22]=> string(10) "Reflection" [23]=> string(8) "standard" [24]=> string(9) "SimpleXML" [25]=> string(4) "Phar" [26]=> string(9) "tokenizer" [27]=> string(3) "xml" [28]=> string(9) "xmlreader" [29]=> string(9) "xmlwriter" [30]=> string(4) "intl" [31]=> string(6) "bcmath" [32]=> string(12) "Zend OPcache" }
Output for 5.5.29 - 5.5.30, 5.5.34, 5.6.13 - 5.6.15, 5.6.20
array(33) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(4) "ereg" [3]=> string(6) "libxml" [4]=> string(7) "openssl" [5]=> string(4) "pcre" [6]=> string(7) "sqlite3" [7]=> string(4) "zlib" [8]=> string(8) "calendar" [9]=> string(5) "ctype" [10]=> string(3) "dom" [11]=> string(8) "fileinfo" [12]=> string(6) "filter" [13]=> string(7) "gettext" [14]=> string(3) "gmp" [15]=> string(4) "hash" [16]=> string(5) "iconv" [17]=> string(4) "json" [18]=> string(8) "mbstring" [19]=> string(6) "mcrypt" [20]=> string(3) "SPL" [21]=> string(3) "PDO" [22]=> string(10) "pdo_sqlite" [23]=> string(7) "session" [24]=> string(5) "posix" [25]=> string(10) "Reflection" [26]=> string(8) "standard" [27]=> string(9) "SimpleXML" [28]=> string(4) "Phar" [29]=> string(9) "tokenizer" [30]=> string(3) "xml" [31]=> string(9) "xmlreader" [32]=> string(9) "xmlwriter" }
Output for 5.4.15 - 5.4.45, 5.5.31 - 5.5.33, 5.6.16 - 5.6.19
array(35) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(4) "ereg" [3]=> string(6) "libxml" [4]=> string(7) "openssl" [5]=> string(4) "pcre" [6]=> string(7) "sqlite3" [7]=> string(4) "zlib" [8]=> string(6) "bcmath" [9]=> string(8) "calendar" [10]=> string(5) "ctype" [11]=> string(3) "dom" [12]=> string(8) "fileinfo" [13]=> string(6) "filter" [14]=> string(7) "gettext" [15]=> string(3) "gmp" [16]=> string(4) "hash" [17]=> string(5) "iconv" [18]=> string(4) "intl" [19]=> string(4) "json" [20]=> string(8) "mbstring" [21]=> string(6) "mcrypt" [22]=> string(3) "SPL" [23]=> string(3) "PDO" [24]=> string(10) "pdo_sqlite" [25]=> string(7) "session" [26]=> string(5) "posix" [27]=> string(10) "Reflection" [28]=> string(8) "standard" [29]=> string(9) "SimpleXML" [30]=> string(4) "Phar" [31]=> string(9) "tokenizer" [32]=> string(3) "xml" [33]=> string(9) "xmlreader" [34]=> string(9) "xmlwriter" }
Output for 5.5.24 - 5.5.28, 5.6.8 - 5.6.12
array(36) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(4) "ereg" [3]=> string(6) "libxml" [4]=> string(7) "openssl" [5]=> string(4) "pcre" [6]=> string(7) "sqlite3" [7]=> string(4) "zlib" [8]=> string(8) "calendar" [9]=> string(5) "ctype" [10]=> string(3) "dom" [11]=> string(8) "fileinfo" [12]=> string(6) "filter" [13]=> string(7) "gettext" [14]=> string(3) "gmp" [15]=> string(4) "hash" [16]=> string(5) "iconv" [17]=> string(4) "json" [18]=> string(8) "mbstring" [19]=> string(6) "mcrypt" [20]=> string(3) "SPL" [21]=> string(3) "PDO" [22]=> string(10) "pdo_sqlite" [23]=> string(7) "session" [24]=> string(5) "posix" [25]=> string(10) "Reflection" [26]=> string(8) "standard" [27]=> string(9) "SimpleXML" [28]=> string(4) "Phar" [29]=> string(9) "tokenizer" [30]=> string(3) "xml" [31]=> string(9) "xmlreader" [32]=> string(9) "xmlwriter" [33]=> string(4) "intl" [34]=> string(6) "bcmath" [35]=> string(12) "Zend OPcache" }
Output for 5.4.1 - 5.4.14
array(34) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(4) "ereg" [3]=> string(6) "libxml" [4]=> string(4) "pcre" [5]=> string(7) "sqlite3" [6]=> string(4) "zlib" [7]=> string(6) "bcmath" [8]=> string(8) "calendar" [9]=> string(5) "ctype" [10]=> string(3) "dom" [11]=> string(8) "fileinfo" [12]=> string(6) "filter" [13]=> string(7) "gettext" [14]=> string(3) "gmp" [15]=> string(4) "hash" [16]=> string(5) "iconv" [17]=> string(4) "intl" [18]=> string(4) "json" [19]=> string(8) "mbstring" [20]=> string(6) "mcrypt" [21]=> string(3) "SPL" [22]=> string(3) "PDO" [23]=> string(10) "pdo_sqlite" [24]=> string(7) "session" [25]=> string(5) "posix" [26]=> string(10) "Reflection" [27]=> string(8) "standard" [28]=> string(9) "SimpleXML" [29]=> string(4) "Phar" [30]=> string(9) "tokenizer" [31]=> string(3) "xml" [32]=> string(9) "xmlreader" [33]=> string(9) "xmlwriter" }
Output for 5.3.18 - 5.3.29
array(39) { [0]=> string(4) "Core" [1]=> string(4) "date" [2]=> string(4) "ereg" [3]=> string(6) "libxml" [4]=> string(4) "pcre" [5]=> string(7) "sqlite3" [6]=> string(4) "zlib" [7]=> string(6) "bcmath" [8]=> string(8) "calendar" [9]=> string(5) "ctype" [10]=> string(3) "dom" [11]=> string(4) "hash" [12]=> string(8) "fileinfo" [13]=> string(6) "filter" [14]=> string(3) "ftp" [15]=> string(7) "gettext" [16]=> string(3) "SPL" [17]=> string(5) "iconv" [18]=> string(4) "json" [19]=> string(8) "mbstring" [20]=> string(5) "pcntl" [21]=> string(7) "session" [22]=> string(3) "PDO" [23]=> string(10) "pdo_sqlite" [24]=> string(8) "standard" [25]=> string(5) "posix" [26]=> string(10) "Reflection" [27]=> string(4) "Phar" [28]=> string(9) "SimpleXML" [29]=> string(4) "soap" [30]=> string(7) "sockets" [31]=> string(6) "SQLite" [32]=> string(4) "exif" [33]=> string(9) "tokenizer" [34]=> string(4) "wddx" [35]=> string(3) "xml" [36]=> string(9) "xmlreader" [37]=> string(9) "xmlwriter" [38]=> string(3) "zip" }