3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = "Pompe à eau Bmw 316-->325/Touring (E30) 1.8 318i / Auto. (M40) 1796cc 10/87->93"; preg_match_all('/[0-9]{1,2}(\/[0-9]{2,4}){0,1}[\s]*->([0-9]{1,2}(\/[0-9]{2,4}){0,1}){0,1}/', $t, $periode); print_r($periode);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/etoWg
function name:  (null)
number of ops:  10
compiled vars:  !0 = $t, !1 = $periode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Pompe+%C3%A0+eau+Bmw+316--%3E325%2FTouring+%28E30%29+1.8+318i+%2F+Auto.+%28M40%29+1796cc+10%2F87-%3E93'
    3     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%5B0-9%5D%7B1%2C2%7D%28%5C%2F%5B0-9%5D%7B2%2C4%7D%29%7B0%2C1%7D%5B%5Cs%5D%2A-%3E%28%5B0-9%5D%7B1%2C2%7D%28%5C%2F%5B0-9%5D%7B2%2C4%7D%29%7B0%2C1%7D%29%7B0%2C1%7D%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     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:
148.93 ms | 1385 KiB | 17 Q