3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domainPrice = 500; $lastColumn = 'Att betala 500,00SEK'; $test = preg_match('/(Att betala\s+)([0-9]+)(,00SEK)/i', $lastColum, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cRABi
function name:  (null)
number of ops:  12
compiled vars:  !0 = $domainPrice, !1 = $lastColumn, !2 = $test, !3 = $lastColum, !4 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 500
    5     1        ASSIGN                                                   !1, 'Att+betala+500%2C00SEK'
    6     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%28Att+betala%5Cs%2B%29%28%5B0-9%5D%2B%29%28%2C00SEK%29%2Fi'
          4        SEND_VAR                                                 !3
          5        SEND_REF                                                 !4
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !2, $7
    7     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !4
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.74 ms | 1394 KiB | 17 Q