3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "something"; print strlen($str); $test = []; $test[] = ord('shit'); $test[] = ord('damnit'); print $test; print implode(' ',$test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uo8pZ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'something'
    3     1        STRLEN                                           ~3      !0
          2        ECHO                                                     ~3
    4     3        ASSIGN                                                   !1, <array>
    5     4        ASSIGN_DIM                                               !1
          5        OP_DATA                                                  115
    6     6        ASSIGN_DIM                                               !1
          7        OP_DATA                                                  100
    7     8        ECHO                                                     !1
    8     9        INIT_FCALL                                               'implode'
         10        SEND_VAL                                                 '+'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $7      
         13        ECHO                                                     $7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.51 ms | 1385 KiB | 15 Q