3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.cinnober.com/open-positions/?aguid=A089F903349B4D85B20E02611FA845FB'; $url = 'http://www.cinnober.com/open-positions/?aguid=88888888888888888888888888888888'; //$url = null; $x = preg_split('/aguid\=/i', $url); var_dump($x); print "x:" . $x; $aguid = preg_replace_callback('/([^\w{32}])/i', function($match){ return $match[0]; }, $x[1]); var_dump($aguid); print "aguid:" . $aguid;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X9fFW
function name:  (null)
number of ops:  26
compiled vars:  !0 = $url, !1 = $x, !2 = $aguid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.cinnober.com%2Fopen-positions%2F%3Faguid%3DA089F903349B4D85B20E02611FA845FB'
    3     1        ASSIGN                                                   !0, 'http%3A%2F%2Fwww.cinnober.com%2Fopen-positions%2F%3Faguid%3D88888888888888888888888888888888'
    5     2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2Faguid%5C%3D%2Fi'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !1, $5
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    7    10        CONCAT                                           ~8      'x%3A', !1
         11        ECHO                                                     ~8
    8    12        INIT_FCALL                                               'preg_replace_callback'
         13        SEND_VAL                                                 '%2F%28%5B%5E%5Cw%7B32%7D%5D%29%2Fi'
         14        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FX9fFW%3A8%240'
   10    15        SEND_VAL                                                 ~9
         16        FETCH_DIM_R                                      ~10     !1, 1
         17        SEND_VAL                                                 ~10
         18        DO_ICALL                                         $11     
    8    19        ASSIGN                                                   !2, $11
   11    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !2
         22        DO_ICALL                                                 
   12    23        CONCAT                                           ~14     'aguid%3A', !2
         24        ECHO                                                     ~14
         25      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FX9fFW%3A8%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X9fFW
function name:  {closure}
number of ops:  4
compiled vars:  !0 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
    9     1        FETCH_DIM_R                                      ~1      !0, 0
          2      > RETURN                                                   ~1
   10     3*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FX9fFW%3A8%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.13 ms | 1396 KiB | 19 Q