3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(get_loaded_extensions());
Output for 7.2.2
Array ( [0] => Core [1] => date [2] => libxml [3] => openssl [4] => pcre [5] => sqlite3 [6] => zlib [7] => calendar [8] => ctype [9] => dom [10] => fileinfo [11] => filter [12] => gettext [13] => hash [14] => json [15] => mbstring [16] => SPL [17] => PDO [18] => pdo_sqlite [19] => session [20] => posix [21] => Reflection [22] => standard [23] => SimpleXML [24] => Phar [25] => tokenizer [26] => xml [27] => xmlreader [28] => xmlwriter [29] => gmp [30] => iconv [31] => intl [32] => bcmath [33] => sodium [34] => Zend OPcache )
Output for 7.0.0 - 7.2.0
Array ( [0] => Core [1] => date [2] => libxml [3] => openssl [4] => pcre [5] => sqlite3 [6] => zlib [7] => calendar [8] => ctype [9] => dom [10] => fileinfo [11] => filter [12] => gettext [13] => hash [14] => json [15] => mbstring [16] => SPL [17] => PDO [18] => pdo_sqlite [19] => session [20] => posix [21] => Reflection [22] => standard [23] => SimpleXML [24] => Phar [25] => tokenizer [26] => xml [27] => xmlreader [28] => xmlwriter [29] => gmp [30] => iconv [31] => intl [32] => bcmath [33] => Zend OPcache )
Output for hhvm-3.17.3
Array ( [0] => apc [1] => array [2] => asio [3] => async_mysql [4] => bcmath [5] => bz2 [6] => collections [7] => ctype [8] => curl [9] => date [10] => debugger [11] => dom [12] => domdocument [13] => enum [14] => exif [15] => fb [16] => fileinfo [17] => filter [18] => gd [19] => generator [20] => gettext [21] => gmp [22] => hash [23] => heapgraph [24] => hh [25] => hh_client [26] => hhvm.debugger [27] => hhvm.ini [28] => hosthealthmonitor [29] => hotprofiler [30] => iconv [31] => idn [32] => imagick [33] => imap [34] => intervaltimer [35] => intl [36] => json [37] => ldap [38] => libxml [39] => lz4 [40] => mail [41] => mailparse [42] => mbstring [43] => mcrouter [44] => mcrypt [45] => memcache [46] => memcached [47] => mysql [48] => mysqli [49] => objprof [50] => openssl [51] => password [52] => pcntl [53] => pcre [54] => pdo [55] => pdo_mysql [56] => pdo_pgsql [57] => pdo_sqlite [58] => pgsql [59] => Phar [60] => posix [61] => random [62] => readline [63] => redis [64] => reflection [65] => scrypt [66] => server [67] => session [68] => shmop [69] => simplexml [70] => soap [71] => sockets [72] => spl [73] => sqlite3 [74] => standard [75] => stream [76] => string [77] => sysvmsg [78] => sysvsem [79] => sysvshm [80] => thread [81] => thrift_protocol [82] => tokenizer [83] => url [84] => wddx [85] => weakref [86] => xenon [87] => xhprof [88] => xml [89] => xmlreader [90] => xmlwriter [91] => xsl [92] => zip [93] => zlib )
Output for hhvm-3.15.4
Array ( [0] => apc [1] => array [2] => asio [3] => async_mysql [4] => bcmath [5] => bz2 [6] => collections [7] => ctype [8] => curl [9] => date [10] => debugger [11] => dom [12] => domdocument [13] => enum [14] => exif [15] => fb [16] => fileinfo [17] => filter [18] => gd [19] => generator [20] => gettext [21] => gmp [22] => hash [23] => heapgraph [24] => hh [25] => hh_client [26] => hhvm.debugger [27] => hhvm.ini [28] => hosthealthmonitor [29] => hotprofiler [30] => iconv [31] => idn [32] => imagick [33] => imap [34] => intervaltimer [35] => intl [36] => json [37] => ldap [38] => libxml [39] => mail [40] => mailparse [41] => mbstring [42] => mcrouter [43] => mcrypt [44] => memcache [45] => memcached [46] => mysql [47] => mysqli [48] => objprof [49] => openssl [50] => password [51] => pcntl [52] => pcre [53] => pdo [54] => pdo_mysql [55] => pdo_pgsql [56] => pdo_sqlite [57] => pgsql [58] => phar [59] => posix [60] => random [61] => readline [62] => redis [63] => reflection [64] => scrypt [65] => server [66] => session [67] => shmop [68] => simplexml [69] => soap [70] => sockets [71] => spl [72] => sqlite3 [73] => standard [74] => stream [75] => string [76] => sysvmsg [77] => sysvsem [78] => sysvshm [79] => thread [80] => thrift_protocol [81] => tokenizer [82] => url [83] => wddx [84] => xenon [85] => xhprof [86] => xml [87] => xmlreader [88] => xmlwriter [89] => xsl [90] => zip [91] => zlib )
Output for hhvm-3.11.1 - 3.13.2
Array ( [0] => apc [1] => array [2] => asio [3] => async_mysql [4] => bcmath [5] => bz2 [6] => collections [7] => ctype [8] => curl [9] => date [10] => debugger [11] => dom [12] => domdocument [13] => enum [14] => exif [15] => fb [16] => fileinfo [17] => filter [18] => gd [19] => generator [20] => gettext [21] => gmp [22] => hash [23] => hh [24] => hh_client [25] => hhvm.debugger [26] => hhvm.ini [27] => hosthealthmonitor [28] => hotprofiler [29] => iconv [30] => idn [31] => imagick [32] => imap [33] => intervaltimer [34] => intl [35] => json [36] => ldap [37] => libxml [38] => mail [39] => mailparse [40] => mbstring [41] => mcrouter [42] => mcrypt [43] => memcache [44] => memcached [45] => mysql [46] => mysqli [47] => objprof [48] => openssl [49] => password [50] => pcntl [51] => pcre [52] => pdo [53] => pdo_mysql [54] => pdo_sqlite [55] => phar [56] => posix [57] => random [58] => readline [59] => redis [60] => reflection [61] => server [62] => session [63] => simplexml [64] => soap [65] => sockets [66] => spl [67] => sqlite3 [68] => standard [69] => stream [70] => string [71] => sysvmsg [72] => sysvsem [73] => sysvshm [74] => thread [75] => thrift_protocol [76] => tokenizer [77] => url [78] => wddx [79] => xenon [80] => xhprof [81] => xml [82] => xmlreader [83] => xmlwriter [84] => xsl [85] => zip [86] => zlib )
Output for hhvm-3.10.1
Array ( [0] => apc [1] => array [2] => asio [3] => async_mysql [4] => bcmath [5] => bz2 [6] => collections [7] => ctype [8] => curl [9] => date [10] => debugger [11] => dom [12] => domdocument [13] => enum [14] => exif [15] => fb [16] => fileinfo [17] => filter [18] => gd [19] => generator [20] => gmp [21] => hash [22] => hh [23] => hh_client [24] => hhvm.debugger [25] => hhvm.ini [26] => hosthealthmonitor [27] => hotprofiler [28] => iconv [29] => idn [30] => imagick [31] => imap [32] => intervaltimer [33] => intl [34] => json [35] => ldap [36] => libxml [37] => mail [38] => mailparse [39] => mbstring [40] => mcrouter [41] => mcrypt [42] => memcache [43] => memcached [44] => mysql [45] => mysqli [46] => objprof [47] => openssl [48] => pcntl [49] => pcre [50] => pdo [51] => pdo_mysql [52] => pdo_sqlite [53] => phar [54] => posix [55] => readline [56] => redis [57] => reflection [58] => server [59] => session [60] => SimpleXML [61] => soap [62] => sockets [63] => spl [64] => sqlite3 [65] => standard [66] => stream [67] => string [68] => sysvmsg [69] => sysvsem [70] => sysvshm [71] => thread [72] => thrift_protocol [73] => tokenizer [74] => url [75] => wddx [76] => xenon [77] => xhprof [78] => xml [79] => xmlreader [80] => xmlwriter [81] => xsl [82] => zip [83] => zlib )
Output for 5.6.0 - 5.6.30
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => openssl [5] => pcre [6] => sqlite3 [7] => zlib [8] => calendar [9] => ctype [10] => dom [11] => fileinfo [12] => filter [13] => gettext [14] => hash [15] => json [16] => mbstring [17] => SPL [18] => PDO [19] => pdo_sqlite [20] => session [21] => posix [22] => Reflection [23] => standard [24] => SimpleXML [25] => Phar [26] => tokenizer [27] => xml [28] => xmlreader [29] => xmlwriter [30] => gmp [31] => iconv [32] => intl [33] => bcmath [34] => Zend OPcache )
Output for 5.5.35 - 5.5.38
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => openssl [5] => pcre [6] => sqlite3 [7] => zlib [8] => calendar [9] => ctype [10] => dom [11] => fileinfo [12] => filter [13] => gettext [14] => hash [15] => json [16] => mbstring [17] => SPL [18] => PDO [19] => pdo_sqlite [20] => session [21] => posix [22] => Reflection [23] => standard [24] => SimpleXML [25] => Phar [26] => tokenizer [27] => xml [28] => xmlreader [29] => xmlwriter )
Output for 5.5.0 - 5.5.34
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => openssl [5] => pcre [6] => sqlite3 [7] => zlib [8] => calendar [9] => ctype [10] => dom [11] => fileinfo [12] => filter [13] => gettext [14] => gmp [15] => hash [16] => iconv [17] => json [18] => mbstring [19] => mcrypt [20] => SPL [21] => PDO [22] => pdo_sqlite [23] => session [24] => posix [25] => Reflection [26] => standard [27] => SimpleXML [28] => Phar [29] => tokenizer [30] => xml [31] => xmlreader [32] => xmlwriter )
Output for 5.4.15 - 5.4.45
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => openssl [5] => pcre [6] => sqlite3 [7] => zlib [8] => bcmath [9] => calendar [10] => ctype [11] => dom [12] => fileinfo [13] => filter [14] => gettext [15] => gmp [16] => hash [17] => iconv [18] => intl [19] => json [20] => mbstring [21] => mcrypt [22] => SPL [23] => PDO [24] => pdo_sqlite [25] => session [26] => posix [27] => Reflection [28] => standard [29] => SimpleXML [30] => Phar [31] => tokenizer [32] => xml [33] => xmlreader [34] => xmlwriter )
Output for 5.4.0 - 5.4.14
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => pcre [5] => sqlite3 [6] => zlib [7] => bcmath [8] => calendar [9] => ctype [10] => dom [11] => fileinfo [12] => filter [13] => gettext [14] => gmp [15] => hash [16] => iconv [17] => intl [18] => json [19] => mbstring [20] => mcrypt [21] => SPL [22] => PDO [23] => pdo_sqlite [24] => session [25] => posix [26] => Reflection [27] => standard [28] => SimpleXML [29] => Phar [30] => tokenizer [31] => xml [32] => xmlreader [33] => xmlwriter )
Output for 5.3.4 - 5.3.29
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => pcre [5] => sqlite3 [6] => zlib [7] => bcmath [8] => calendar [9] => ctype [10] => dom [11] => hash [12] => fileinfo [13] => filter [14] => ftp [15] => gettext [16] => SPL [17] => iconv [18] => json [19] => mbstring [20] => pcntl [21] => session [22] => PDO [23] => pdo_sqlite [24] => standard [25] => posix [26] => Reflection [27] => Phar [28] => SimpleXML [29] => soap [30] => sockets [31] => SQLite [32] => exif [33] => tokenizer [34] => wddx [35] => xml [36] => xmlreader [37] => xmlwriter [38] => zip )
Output for 5.3.1 - 5.3.3
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => pcre [5] => sqlite3 [6] => zlib [7] => bcmath [8] => calendar [9] => ctype [10] => dom [11] => hash [12] => fileinfo [13] => filter [14] => ftp [15] => gettext [16] => session [17] => iconv [18] => json [19] => mbstring [20] => pcntl [21] => SPL [22] => PDO [23] => pdo_sqlite [24] => standard [25] => posix [26] => Reflection [27] => Phar [28] => SimpleXML [29] => soap [30] => sockets [31] => SQLite [32] => exif [33] => tokenizer [34] => wddx [35] => xml [36] => xmlreader [37] => xmlwriter [38] => zip )
Output for 5.3.0
Array ( [0] => Core [1] => date [2] => ereg [3] => libxml [4] => pcre [5] => sqlite3 [6] => zlib [7] => bcmath [8] => calendar [9] => ctype [10] => dom [11] => session [12] => fileinfo [13] => filter [14] => ftp [15] => gettext [16] => hash [17] => iconv [18] => json [19] => mbstring [20] => pcntl [21] => SPL [22] => PDO [23] => pdo_sqlite [24] => standard [25] => posix [26] => Reflection [27] => Phar [28] => SimpleXML [29] => soap [30] => sockets [31] => SQLite [32] => exif [33] => tokenizer [34] => wddx [35] => xml [36] => xmlreader [37] => xmlwriter [38] => zip )
Output for 5.2.11 - 5.2.17
Array ( [0] => date [1] => libxml [2] => pcre [3] => zlib [4] => bcmath [5] => calendar [6] => ctype [7] => dom [8] => hash [9] => filter [10] => ftp [11] => gettext [12] => session [13] => iconv [14] => json [15] => mbstring [16] => pcntl [17] => SimpleXML [18] => SPL [19] => PDO [20] => posix [21] => Reflection [22] => standard [23] => pdo_sqlite [24] => soap [25] => sockets [26] => SQLite [27] => exif [28] => tokenizer [29] => wddx [30] => xml [31] => xmlreader [32] => xmlwriter [33] => zip )
Output for 5.2.10
Array ( [0] => date [1] => libxml [2] => pcre [3] => zlib [4] => bcmath [5] => calendar [6] => ctype [7] => dom [8] => session [9] => filter [10] => ftp [11] => gettext [12] => hash [13] => iconv [14] => json [15] => mbstring [16] => pcntl [17] => SimpleXML [18] => SPL [19] => PDO [20] => posix [21] => Reflection [22] => standard [23] => pdo_sqlite [24] => soap [25] => sockets [26] => SQLite [27] => exif [28] => tokenizer [29] => wddx [30] => xml [31] => xmlreader [32] => xmlwriter [33] => zip )
Output for 5.2.3 - 5.2.9
Array ( [0] => zip [1] => xmlwriter [2] => libxml [3] => dom [4] => xmlreader [5] => xml [6] => wddx [7] => tokenizer [8] => session [9] => pcre [10] => SimpleXML [11] => SPL [12] => PDO [13] => sockets [14] => soap [15] => SQLite [16] => standard [17] => Reflection [18] => posix [19] => pdo_sqlite [20] => pcntl [21] => mbstring [22] => json [23] => iconv [24] => hash [25] => gettext [26] => ftp [27] => filter [28] => exif [29] => date [30] => ctype [31] => calendar [32] => bcmath [33] => zlib )
Output for 5.2.1 - 5.2.2
Array ( [0] => zip [1] => xmlwriter [2] => libxml [3] => dom [4] => xmlreader [5] => xml [6] => wddx [7] => tokenizer [8] => session [9] => pcre [10] => SimpleXML [11] => SPL [12] => PDO [13] => sockets [14] => soap [15] => SQLite [16] => standard [17] => Reflection [18] => posix [19] => pdo_sqlite [20] => pcntl [21] => mbstring [22] => json [23] => iconv [24] => hash [25] => gettext [26] => ftp [27] => filter [28] => exif [29] => date [30] => ctype [31] => calendar [32] => bcmath [33] => zlib [34] => cgi )
Output for 5.2.0
Array ( [0] => zip [1] => xmlwriter [2] => libxml [3] => dom [4] => xmlreader [5] => xml [6] => wddx [7] => tokenizer [8] => session [9] => SimpleXML [10] => SPL [11] => PDO [12] => sockets [13] => soap [14] => SQLite [15] => standard [16] => Reflection [17] => posix [18] => pdo_sqlite [19] => pcntl [20] => mbstring [21] => json [22] => iconv [23] => hash [24] => gettext [25] => ftp [26] => filter [27] => exif [28] => date [29] => ctype [30] => calendar [31] => bcmath [32] => zlib [33] => pcre )
Output for 5.1.4 - 5.1.6
Array ( [0] => xmlwriter [1] => libxml [2] => dom [3] => xmlreader [4] => xml [5] => wddx [6] => tokenizer [7] => standard [8] => SimpleXML [9] => SPL [10] => session [11] => sockets [12] => soap [13] => PDO [14] => SQLite [15] => Reflection [16] => posix [17] => pcntl [18] => mbstring [19] => iconv [20] => hash [21] => gettext [22] => ftp [23] => exif [24] => date [25] => ctype [26] => calendar [27] => bcmath [28] => zlib [29] => pcre )
Output for 5.1.2 - 5.1.3
Array ( [0] => xmlwriter [1] => libxml [2] => dom [3] => xmlreader [4] => xml [5] => wddx [6] => tokenizer [7] => standard [8] => SimpleXML [9] => SPL [10] => session [11] => sockets [12] => soap [13] => PDO [14] => SQLite [15] => Reflection [16] => posix [17] => pdo_sqlite [18] => pcntl [19] => mbstring [20] => iconv [21] => hash [22] => gettext [23] => ftp [24] => exif [25] => date [26] => ctype [27] => calendar [28] => bcmath [29] => zlib [30] => pcre )
Output for 5.1.1
Array ( [0] => libxml [1] => xml [2] => wddx [3] => tokenizer [4] => standard [5] => SimpleXML [6] => SPL [7] => session [8] => sockets [9] => soap [10] => PDO [11] => SQLite [12] => posix [13] => pdo_sqlite [14] => pcntl [15] => mbstring [16] => iconv [17] => gettext [18] => ftp [19] => exif [20] => dom [21] => date [22] => ctype [23] => calendar [24] => bcmath [25] => zlib [26] => pcre )
Output for 5.1.0
Array ( [0] => libxml [1] => xml [2] => wddx [3] => tokenizer [4] => standard [5] => SimpleXML [6] => PDO [7] => SPL [8] => sockets [9] => soap [10] => session [11] => SQLite [12] => posix [13] => pdo_sqlite [14] => pcntl [15] => mbstring [16] => iconv [17] => gettext [18] => ftp [19] => exif [20] => dom [21] => date [22] => ctype [23] => calendar [24] => bcmath [25] => zlib [26] => pcre )
Output for 5.0.0 - 5.0.5
Array ( [0] => xml [1] => wddx [2] => tokenizer [3] => standard [4] => SQLite [5] => SPL [6] => sockets [7] => soap [8] => SimpleXML [9] => session [10] => posix [11] => pcre [12] => pcntl [13] => mbstring [14] => iconv [15] => gettext [16] => ftp [17] => exif [18] => dom [19] => ctype [20] => calendar [21] => bcmath [22] => zlib [23] => libxml )
Output for 4.4.2 - 4.4.9
Array ( [0] => xml [1] => wddx [2] => tokenizer [3] => standard [4] => sockets [5] => session [6] => posix [7] => pcntl [8] => overload [9] => mysql [10] => mbstring [11] => gettext [12] => ftp [13] => exif [14] => ctype [15] => calendar [16] => bcmath [17] => zlib [18] => pcre )
Output for 4.3.0 - 4.4.1
Array ( [0] => xml [1] => wddx [2] => tokenizer [3] => standard [4] => sockets [5] => session [6] => posix [7] => pcre [8] => pcntl [9] => overload [10] => mysql [11] => mbstring [12] => gettext [13] => ftp [14] => exif [15] => ctype [16] => calendar [17] => bcmath [18] => zlib )