3v4l.org

run code in 300+ PHP versions simultaneously
<?php function CE50($CEINPUT) { $CE50 = $CEINPUT; $CE50 = str_replace("a", ")`", $CE50); $CE50 = str_replace("b", "(~", $CS50); $CE50 = str_replace("c", "*`", $CS50); $CE50 = str_replace("d", "&~", $CS50); $CE50 = strrev(substr($CE50, 0, 50)); return $CE50; } echo CE50("abccbaaabc"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NDmEl
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'ce50'
          1        SEND_VAL                                                 'abccbaaabc'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
   14     4      > RETURN                                                   1

Function ce50:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NDmEl
function name:  CE50
number of ops:  37
compiled vars:  !0 = $CEINPUT, !1 = $CE50, !2 = $CS50
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ASSIGN                                                   !1, !0
    4     2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 'a'
          4        SEND_VAL                                                 '%29%60'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    5     8        INIT_FCALL                                               'str_replace'
          9        SEND_VAL                                                 'b'
         10        SEND_VAL                                                 '%28%7E'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
    6    14        INIT_FCALL                                               'str_replace'
         15        SEND_VAL                                                 'c'
         16        SEND_VAL                                                 '%2A%60'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                         $8      
         19        ASSIGN                                                   !1, $8
    7    20        INIT_FCALL                                               'str_replace'
         21        SEND_VAL                                                 'd'
         22        SEND_VAL                                                 '%26%7E'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                         $10     
         25        ASSIGN                                                   !1, $10
    8    26        INIT_FCALL                                               'strrev'
         27        INIT_FCALL                                               'substr'
         28        SEND_VAR                                                 !1
         29        SEND_VAL                                                 0
         30        SEND_VAL                                                 50
         31        DO_ICALL                                         $12     
         32        SEND_VAR                                                 $12
         33        DO_ICALL                                         $13     
         34        ASSIGN                                                   !1, $13
   10    35      > RETURN                                                   !1
   11    36*     > RETURN                                                   null

End of function ce50

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.49 ms | 1403 KiB | 20 Q