3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.91 ms | 1394 KiB | 19 Q