3v4l.org

run code in 300+ PHP versions simultaneously
<?php $delimiter = '_'; $value = '20160615132232Ukis308CreateSymbolsTable'; if ( ! ctype_lower($value)) { $value = strtolower(preg_replace('/(.)(?=[A-Z])/', '$1'.$delimiter, $value)); } echo $value;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 17
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/RRsJr
function name:  (null)
number of ops:  19
compiled vars:  !0 = $delimiter, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '_'
    4     1        ASSIGN                                                   !1, '20160615132232Ukis308CreateSymbolsTable'
    6     2        INIT_FCALL                                               'ctype_lower'
          3        SEND_VAR                                                 !1
          4        DO_ICALL                                         $4      
          5        BOOL_NOT                                         ~5      $4
          6      > JMPZ                                                     ~5, ->17
    8     7    >   INIT_FCALL                                               'strtolower'
          8        INIT_FCALL                                               'preg_replace'
          9        SEND_VAL                                                 '%2F%28.%29%28%3F%3D%5BA-Z%5D%29%2F'
         10        CONCAT                                           ~6      '%241', !0
         11        SEND_VAL                                                 ~6
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $7      
         14        SEND_VAR                                                 $7
         15        DO_ICALL                                         $8      
         16        ASSIGN                                                   !1, $8
   11    17    >   ECHO                                                     !1
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.83 ms | 1395 KiB | 19 Q