3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<FOO hi :ahia #huhaubahbajn --- hi: hiakj ... ... --- haiah: a ajah --- ahiaj: ajha FOO; preg_match_all('~^[^-.][^\r\n]*~m', $data, $matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J1r4o
function name:  (null)
number of ops:  10
compiled vars:  !0 = $data, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'hi+%3Aahia+%23huhaubahbajn%0A---%0Ahi%3A+hiakj%0A...%0A...%0A---%0Ahaiah%3A+a+ajah%0A---%0Aahiaj%3A+ajha'
   13     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%7E%5E%5B%5E-.%5D%5B%5E%5Cr%5Cn%5D%2A%7Em'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   14     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
125.91 ms | 1432 KiB | 15 Q