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[1]); foreach ($out[1] as $chr) { echo ord($chr); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/4MAi1
function name:  (null)
number of ops:  20
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        FETCH_DIM_R                                      ~5      !1, 1
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
    8    10        FETCH_DIM_R                                      ~7      !1, 1
         11      > FE_RESET_R                                       $8      ~7, ->18
         12    > > FE_FETCH_R                                               $8, !2, ->18
    9    13    >   INIT_FCALL                                               'ord'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $9      
         16        ECHO                                                     $9
    8    17      > JMP                                                      ->12
         18    >   FE_FREE                                                  $8
   10    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.42 ms | 1399 KiB | 19 Q