3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start(); date_default_timezone_set('UTC'); phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES); $phpinfo = ob_get_contents(); ob_end_clean(); preg_match_all('#<body[^>]*>(.*)</body>#siU', $phpinfo, $output); $output1 = preg_replace('#<table[^>]*>#', '<table class="table table-striped adminlist">', $output[1][0]); echo $output[1][0] . PHP_EOL . PHP_EOL . $output1;
Output for 5.3.0 - 7.1.0
Notice: Undefined offset: 0 in /in/a0KUr on line 8 Notice: Undefined offset: 0 in /in/a0KUr on line 9