3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(get_loaded_extensions(true));
Output for 5.5.0 - 5.6.28, 7.0.0 - 7.1.0
array(1) { [0]=> string(12) "Zend OPcache" }
Output for hhvm-3.12.0
array(89) { [0]=> string(3) "apc" [1]=> string(5) "array" [2]=> string(4) "asio" [3]=> string(11) "async_mysql" [4]=> string(6) "bcmath" [5]=> string(3) "bz2" [6]=> string(11) "collections" [7]=> string(5) "ctype" [8]=> string(4) "curl" [9]=> string(4) "date" [10]=> string(8) "debugger" [11]=> string(3) "dom" [12]=> string(11) "domdocument" [13]=> string(4) "enum" [14]=> string(4) "exif" [15]=> string(2) "fb" [16]=> string(8) "fileinfo" [17]=> string(6) "filter" [18]=> string(7) "fribidi" [19]=> string(2) "gd" [20]=> string(9) "generator" [21]=> string(7) "gettext" [22]=> string(3) "gmp" [23]=> string(4) "hash" [24]=> string(2) "hh" [25]=> string(9) "hh_client" [26]=> string(13) "hhvm.debugger" [27]=> string(8) "hhvm.ini" [28]=> string(17) "hosthealthmonitor" [29]=> string(11) "hotprofiler" [30]=> string(5) "iconv" [31]=> string(3) "idn" [32]=> string(7) "imagick" [33]=> string(4) "imap" [34]=> string(13) "intervaltimer" [35]=> string(4) "intl" [36]=> string(4) "json" [37]=> string(4) "ldap" [38]=> string(6) "libxml" [39]=> string(4) "mail" [40]=> string(9) "mailparse" [41]=> string(8) "mbstring" [42]=> string(8) "mcrouter" [43]=> string(6) "mcrypt" [44]=> string(8) "memcache" [45]=> string(9) "memcached" [46]=> string(5) "mysql" [47]=> string(6) "mysqli" [48]=> string(7) "objprof" [49]=> string(4) "odbc" [50]=> string(7) "openssl" [51]=> string(8) "password" [52]=> string(5) "pcntl" [53]=> string(4) "pcre" [54]=> string(3) "pdo" [55]=> string(9) "pdo_mysql" [56]=> string(10) "pdo_sqlite" [57]=> string(4) "phar" [58]=> string(5) "posix" [59]=> string(6) "random" [60]=> string(8) "readline" [61]=> string(5) "redis" [62]=> string(10) "reflection" [63]=> string(6) "server" [64]=> string(7) "session" [65]=> string(9) "simplexml" [66]=> string(4) "soap" [67]=> string(7) "sockets" [68]=> string(3) "spl" [69]=> string(7) "sqlite3" [70]=> string(8) "standard" [71]=> string(6) "stream" [72]=> string(6) "string" [73]=> string(7) "sysvmsg" [74]=> string(7) "sysvsem" [75]=> string(7) "sysvshm" [76]=> string(6) "thread" [77]=> string(15) "thrift_protocol" [78]=> string(9) "tokenizer" [79]=> string(3) "url" [80]=> string(4) "wddx" [81]=> string(5) "xenon" [82]=> string(6) "xhprof" [83]=> string(3) "xml" [84]=> string(9) "xmlreader" [85]=> string(9) "xmlwriter" [86]=> string(3) "xsl" [87]=> string(3) "zip" [88]=> string(4) "zlib" }
Output for hhvm-3.10.0
array(86) { [0]=> string(3) "apc" [1]=> string(5) "array" [2]=> string(4) "asio" [3]=> string(11) "async_mysql" [4]=> string(6) "bcmath" [5]=> string(3) "bz2" [6]=> string(11) "collections" [7]=> string(5) "ctype" [8]=> string(4) "curl" [9]=> string(4) "date" [10]=> string(8) "debugger" [11]=> string(3) "dom" [12]=> string(11) "domdocument" [13]=> string(4) "enum" [14]=> string(4) "exif" [15]=> string(2) "fb" [16]=> string(8) "fileinfo" [17]=> string(6) "filter" [18]=> string(7) "fribidi" [19]=> string(2) "gd" [20]=> string(9) "generator" [21]=> string(3) "gmp" [22]=> string(4) "hash" [23]=> string(2) "hh" [24]=> string(9) "hh_client" [25]=> string(13) "hhvm.debugger" [26]=> string(8) "hhvm.ini" [27]=> string(17) "hosthealthmonitor" [28]=> string(11) "hotprofiler" [29]=> string(5) "iconv" [30]=> string(3) "idn" [31]=> string(7) "imagick" [32]=> string(4) "imap" [33]=> string(13) "intervaltimer" [34]=> string(4) "intl" [35]=> string(4) "json" [36]=> string(4) "ldap" [37]=> string(6) "libxml" [38]=> string(4) "mail" [39]=> string(9) "mailparse" [40]=> string(8) "mbstring" [41]=> string(8) "mcrouter" [42]=> string(6) "mcrypt" [43]=> string(8) "memcache" [44]=> string(9) "memcached" [45]=> string(5) "mysql" [46]=> string(6) "mysqli" [47]=> string(7) "objprof" [48]=> string(4) "odbc" [49]=> string(7) "openssl" [50]=> string(5) "pcntl" [51]=> string(4) "pcre" [52]=> string(3) "pdo" [53]=> string(9) "pdo_mysql" [54]=> string(10) "pdo_sqlite" [55]=> string(4) "phar" [56]=> string(5) "posix" [57]=> string(8) "readline" [58]=> string(5) "redis" [59]=> string(10) "reflection" [60]=> string(6) "server" [61]=> string(7) "session" [62]=> string(9) "SimpleXML" [63]=> string(4) "soap" [64]=> string(7) "sockets" [65]=> string(3) "spl" [66]=> string(7) "sqlite3" [67]=> string(8) "standard" [68]=> string(6) "stream" [69]=> string(6) "string" [70]=> string(7) "sysvmsg" [71]=> string(7) "sysvsem" [72]=> string(7) "sysvshm" [73]=> string(6) "thread" [74]=> string(15) "thrift_protocol" [75]=> string(9) "tokenizer" [76]=> string(3) "url" [77]=> string(4) "wddx" [78]=> string(5) "xenon" [79]=> string(6) "xhprof" [80]=> string(3) "xml" [81]=> string(9) "xmlreader" [82]=> string(9) "xmlwriter" [83]=> string(3) "xsl" [84]=> string(3) "zip" [85]=> string(4) "zlib" }
Output for 5.2.4 - 5.4.45
array(0) { }
Output for 4.3.0 - 5.2.3
Warning: Wrong parameter count for get_loaded_extensions() in /in/IOtMG on line 1 NULL