3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '  love@outerbanks.org  '; preg_match('/^\x{c2a0}*(.*?)\x{c2a0}*$/u', $string, $out); for ($i = 0;$i < count($out[1]);$i++) { echo ord($out[1][$i]).PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 8
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 8
Branch analysis from position: 20
Branch analysis from position: 8
filename:       /in/CsJRv
function name:  (null)
number of ops:  21
compiled vars:  !0 = $string, !1 = $out, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C2%A0%C2%A0love%40outerbanks.org%C2%A0%C2%A0'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%5Cx%7Bc2a0%7D%2A%28.%2A%3F%29%5Cx%7Bc2a0%7D%2A%24%2Fu'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    6     6        ASSIGN                                                   !2, 0
          7      > JMP                                                      ->16
    7     8    >   INIT_FCALL                                               'ord'
          9        FETCH_DIM_R                                      ~6      !1, 1
         10        FETCH_DIM_R                                      ~7      ~6, !2
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                         $8      
         13        CONCAT                                           ~9      $8, '%0A'
         14        ECHO                                                     ~9
    6    15        PRE_INC                                                  !2
         16    >   FETCH_DIM_R                                      ~11     !1, 1
         17        COUNT                                            ~12     ~11
         18        IS_SMALLER                                               !2, ~12
         19      > JMPNZ                                                    ~13, ->8
    8    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.24 ms | 1395 KiB | 17 Q