3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(get_loaded_extensions(true));
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.0
array(1) { [0]=> string(12) "Zend OPcache" }
Output for hhvm-3.17.3
array(94) { [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(2) "gd" [19]=> string(9) "generator" [20]=> string(7) "gettext" [21]=> string(3) "gmp" [22]=> string(4) "hash" [23]=> string(9) "heapgraph" [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(3) "lz4" [40]=> string(4) "mail" [41]=> string(9) "mailparse" [42]=> string(8) "mbstring" [43]=> string(8) "mcrouter" [44]=> string(6) "mcrypt" [45]=> string(8) "memcache" [46]=> string(9) "memcached" [47]=> string(5) "mysql" [48]=> string(6) "mysqli" [49]=> string(7) "objprof" [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(9) "pdo_pgsql" [57]=> string(10) "pdo_sqlite" [58]=> string(5) "pgsql" [59]=> string(4) "Phar" [60]=> string(5) "posix" [61]=> string(6) "random" [62]=> string(8) "readline" [63]=> string(5) "redis" [64]=> string(10) "reflection" [65]=> string(6) "scrypt" [66]=> string(6) "server" [67]=> string(7) "session" [68]=> string(5) "shmop" [69]=> string(9) "simplexml" [70]=> string(4) "soap" [71]=> string(7) "sockets" [72]=> string(3) "spl" [73]=> string(7) "sqlite3" [74]=> string(8) "standard" [75]=> string(6) "stream" [76]=> string(6) "string" [77]=> string(7) "sysvmsg" [78]=> string(7) "sysvsem" [79]=> string(7) "sysvshm" [80]=> string(6) "thread" [81]=> string(15) "thrift_protocol" [82]=> string(9) "tokenizer" [83]=> string(3) "url" [84]=> string(4) "wddx" [85]=> string(7) "weakref" [86]=> string(5) "xenon" [87]=> string(6) "xhprof" [88]=> string(3) "xml" [89]=> string(9) "xmlreader" [90]=> string(9) "xmlwriter" [91]=> string(3) "xsl" [92]=> string(3) "zip" [93]=> string(4) "zlib" }
Output for hhvm-3.15.4
array(92) { [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(2) "gd" [19]=> string(9) "generator" [20]=> string(7) "gettext" [21]=> string(3) "gmp" [22]=> string(4) "hash" [23]=> string(9) "heapgraph" [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(7) "openssl" [50]=> string(8) "password" [51]=> string(5) "pcntl" [52]=> string(4) "pcre" [53]=> string(3) "pdo" [54]=> string(9) "pdo_mysql" [55]=> string(9) "pdo_pgsql" [56]=> string(10) "pdo_sqlite" [57]=> string(5) "pgsql" [58]=> string(4) "phar" [59]=> string(5) "posix" [60]=> string(6) "random" [61]=> string(8) "readline" [62]=> string(5) "redis" [63]=> string(10) "reflection" [64]=> string(6) "scrypt" [65]=> string(6) "server" [66]=> string(7) "session" [67]=> string(5) "shmop" [68]=> string(9) "simplexml" [69]=> string(4) "soap" [70]=> string(7) "sockets" [71]=> string(3) "spl" [72]=> string(7) "sqlite3" [73]=> string(8) "standard" [74]=> string(6) "stream" [75]=> string(6) "string" [76]=> string(7) "sysvmsg" [77]=> string(7) "sysvsem" [78]=> string(7) "sysvshm" [79]=> string(6) "thread" [80]=> string(15) "thrift_protocol" [81]=> string(9) "tokenizer" [82]=> string(3) "url" [83]=> string(4) "wddx" [84]=> string(5) "xenon" [85]=> string(6) "xhprof" [86]=> string(3) "xml" [87]=> string(9) "xmlreader" [88]=> string(9) "xmlwriter" [89]=> string(3) "xsl" [90]=> string(3) "zip" [91]=> string(4) "zlib" }
Output for hhvm-3.11.1 - 3.13.2
array(87) { [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(2) "gd" [19]=> string(9) "generator" [20]=> string(7) "gettext" [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(7) "openssl" [49]=> string(8) "password" [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(6) "random" [58]=> string(8) "readline" [59]=> string(5) "redis" [60]=> string(10) "reflection" [61]=> string(6) "server" [62]=> string(7) "session" [63]=> string(9) "simplexml" [64]=> string(4) "soap" [65]=> string(7) "sockets" [66]=> string(3) "spl" [67]=> string(7) "sqlite3" [68]=> string(8) "standard" [69]=> string(6) "stream" [70]=> string(6) "string" [71]=> string(7) "sysvmsg" [72]=> string(7) "sysvsem" [73]=> string(7) "sysvshm" [74]=> string(6) "thread" [75]=> string(15) "thrift_protocol" [76]=> string(9) "tokenizer" [77]=> string(3) "url" [78]=> string(4) "wddx" [79]=> string(5) "xenon" [80]=> string(6) "xhprof" [81]=> string(3) "xml" [82]=> string(9) "xmlreader" [83]=> string(9) "xmlwriter" [84]=> string(3) "xsl" [85]=> string(3) "zip" [86]=> string(4) "zlib" }
Output for hhvm-3.10.1
array(84) { [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(2) "gd" [19]=> string(9) "generator" [20]=> string(3) "gmp" [21]=> string(4) "hash" [22]=> string(2) "hh" [23]=> string(9) "hh_client" [24]=> string(13) "hhvm.debugger" [25]=> string(8) "hhvm.ini" [26]=> string(17) "hosthealthmonitor" [27]=> string(11) "hotprofiler" [28]=> string(5) "iconv" [29]=> string(3) "idn" [30]=> string(7) "imagick" [31]=> string(4) "imap" [32]=> string(13) "intervaltimer" [33]=> string(4) "intl" [34]=> string(4) "json" [35]=> string(4) "ldap" [36]=> string(6) "libxml" [37]=> string(4) "mail" [38]=> string(9) "mailparse" [39]=> string(8) "mbstring" [40]=> string(8) "mcrouter" [41]=> string(6) "mcrypt" [42]=> string(8) "memcache" [43]=> string(9) "memcached" [44]=> string(5) "mysql" [45]=> string(6) "mysqli" [46]=> string(7) "objprof" [47]=> string(7) "openssl" [48]=> string(5) "pcntl" [49]=> string(4) "pcre" [50]=> string(3) "pdo" [51]=> string(9) "pdo_mysql" [52]=> string(10) "pdo_sqlite" [53]=> string(4) "phar" [54]=> string(5) "posix" [55]=> string(8) "readline" [56]=> string(5) "redis" [57]=> string(10) "reflection" [58]=> string(6) "server" [59]=> string(7) "session" [60]=> string(9) "SimpleXML" [61]=> string(4) "soap" [62]=> string(7) "sockets" [63]=> string(3) "spl" [64]=> string(7) "sqlite3" [65]=> string(8) "standard" [66]=> string(6) "stream" [67]=> string(6) "string" [68]=> string(7) "sysvmsg" [69]=> string(7) "sysvsem" [70]=> string(7) "sysvshm" [71]=> string(6) "thread" [72]=> string(15) "thrift_protocol" [73]=> string(9) "tokenizer" [74]=> string(3) "url" [75]=> string(4) "wddx" [76]=> string(5) "xenon" [77]=> string(6) "xhprof" [78]=> string(3) "xml" [79]=> string(9) "xmlreader" [80]=> string(9) "xmlwriter" [81]=> string(3) "xsl" [82]=> string(3) "zip" [83]=> string(4) "zlib" }
Output for 5.2.4 - 5.5.38
array(0) { }
Output for 4.3.0 - 5.2.3
Warning: Wrong parameter count for get_loaded_extensions() in /in/WGZh2 on line 2 NULL