3v4l.org

run code in 300+ PHP versions simultaneously
<?php $CE50 = ''; function CE50($CE50) { $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/RLpVq
function name:  (null)
number of ops:  6
compiled vars:  !0 = $CE50
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
   14     1        INIT_FCALL                                               'ce50'
          2        SEND_VAL                                                 'abccbaaabc'
          3        DO_FCALL                                      0  $2      
          4        ECHO                                                     $2
   15     5      > RETURN                                                   1

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

End of function ce50

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.87 ms | 1403 KiB | 20 Q