3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.cinnober.com/open-positions/?aguid=A089F903349B4D85B20E02611FA845FB'; //$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/Z4f3A
function name:  (null)
number of ops:  25
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'
    4     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2Faguid%5C%3D%2Fi'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    6     9        CONCAT                                           ~7      'x%3A', !1
         10        ECHO                                                     ~7
    7    11        INIT_FCALL                                               'preg_replace_callback'
         12        SEND_VAL                                                 '%2F%28%5B%5E%5Cw%7B32%7D%5D%29%2Fi'
         13        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FZ4f3A%3A7%240'
    9    14        SEND_VAL                                                 ~8
         15        FETCH_DIM_R                                      ~9      !1, 1
         16        SEND_VAL                                                 ~9
         17        DO_ICALL                                         $10     
    7    18        ASSIGN                                                   !2, $10
   10    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !2
         21        DO_ICALL                                                 
   11    22        CONCAT                                           ~13     'aguid%3A', !2
         23        ECHO                                                     ~13
         24      > RETURN                                                   1

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

End of function %00%7Bclosure%7D%2Fin%2FZ4f3A%3A7%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.23 ms | 1396 KiB | 19 Q