3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lib_lot = 'LOT-1_1'; $nom = str_replace(' ', '-', $lib_lot); echo $nomCrypte = substr(sha1($nom), 0, 10);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o4NvZ
function name:  (null)
number of ops:  18
compiled vars:  !0 = $lib_lot, !1 = $nom, !2 = $nomCrypte
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'LOT-1_1'
    3     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '+'
          3        SEND_VAL                                                 '-'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    4     7        INIT_FCALL                                               'substr'
          8        INIT_FCALL                                               'sha1'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        SEND_VAL                                                 0
         13        SEND_VAL                                                 10
         14        DO_ICALL                                         $7      
         15        ASSIGN                                           ~8      !2, $7
         16        ECHO                                                     ~8
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.91 ms | 1394 KiB | 19 Q