3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_match('/1$/', '001', $data); var_dump($data); ?>

preferences:
32.32 ms | 402 KiB | 5 Q