3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/\[[^][]+\]\h+=>\h+STRING:\h+"(\w+(?:-\w+)*)"/'; $str = '[TIMETRA-VRTR-MIB::vRtrIfName.22.178] => STRING: "interface900" '; preg_match_all($re, $str, $matches); print_r($matches[1]);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
215.63 ms | 2116 KiB | 10 Q