3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '  love@outerbanks.org  '; preg_match('/^\x{c2a0}*(.*?)\x{c2a0}*$/u', $string, $out); var_dump($out); foreach ($out[1] as $chr) { echo ord($chr); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 17
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/CfltQ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $string, !1 = $out, !2 = $chr
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        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    8     9        FETCH_DIM_R                                      ~6      !1, 1
         10      > FE_RESET_R                                       $7      ~6, ->17
         11    > > FE_FETCH_R                                               $7, !2, ->17
    9    12    >   INIT_FCALL                                               'ord'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $8      
         15        ECHO                                                     $8
    8    16      > JMP                                                      ->11
         17    >   FE_FREE                                                  $7
   10    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.9 ms | 1399 KiB | 19 Q