3v4l.org

run code in 500+ PHP versions simultaneously
<?php $line[14] = "FIRST_SECOND_THIRD"; $resp = strtolower($line[14]); $resp_ = ucwords($resp, "_"); var_dump($resp_);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nXgvM
function name:  (null)
number of ops:  16
compiled vars:  !0 = $line, !1 = $resp, !2 = $resp_
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                                   !0, 14
          1        OP_DATA                                                      'FIRST_SECOND_THIRD'
    3     2        INIT_FCALL                                                   'strtolower'
          3        FETCH_DIM_R                                          ~4      !0, 14
          4        SEND_VAL                                                     ~4
          5        DO_ICALL                                             $5      
          6        ASSIGN                                                       !1, $5
    4     7        INIT_FCALL                                                   'ucwords'
          8        SEND_VAR                                                     !1
          9        SEND_VAL                                                     '_'
         10        DO_ICALL                                             $7      
         11        ASSIGN                                                       !2, $7
    5    12        INIT_FCALL                                                   'var_dump'
         13        SEND_VAR                                                     !2
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.54 ms | 2120 KiB | 16 Q