3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = "u: alpha p: p_alpha u: beta p: p_beta u: gamma p: p_gamma u: delta p: p_delta "; echo preg_grep("/^u: *alpha\np: *(.*?)\n/", $t);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CuFVo
function name:  (null)
number of ops:  7
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'u%3A+alpha%0Ap%3A+p_alpha%0A%0Au%3A+beta%0Ap%3A+p_beta%0A%0Au%3A+gamma%0Ap%3A+p_gamma%0A%0Au%3A+delta%0Ap%3A+p_delta%0A'
   15     1        INIT_FCALL                                               'preg_grep'
          2        SEND_VAL                                                 '%2F%5Eu%3A+%2Aalpha%0Ap%3A+%2A%28.%2A%3F%29%0A%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.78 ms | 1385 KiB | 15 Q