3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sstr = "aaadd"; $char = char_count($str); var_dump($char);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RiQCt
function name:  (null)
number of ops:  9
compiled vars:  !0 = $sstr, !1 = $char, !2 = $str
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 'aaadd'
   3     1        INIT_FCALL_BY_NAME                                       'char_count'
         2        SEND_VAR_EX                                              !2
         3        DO_FCALL                                      0  $4      
         4        ASSIGN                                                   !1, $4
   4     5        INIT_FCALL                                               'var_dump'
         6        SEND_VAR                                                 !1
         7        DO_ICALL                                                 
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0