3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = html_entities("£0.00230"); preg_match("/(\W)(\d+\.\d+)/",$str,$m); print_R($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gvqOh
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'html_entities'
          1        SEND_VAL_EX                                              '%C2%A30.00230'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'preg_match'
          5        SEND_VAL                                                 '%2F%28%5CW%29%28%5Cd%2B%5C.%5Cd%2B%29%2F'
          6        SEND_VAR                                                 !0
          7        SEND_REF                                                 !1
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.69 ms | 1385 KiB | 17 Q