3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '012345'; var_dump( ord('0') !== ord($s[0]), ord('0'), ord($s[0]), ini_get('opcache.optimization_level') );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8SLkb
function name:  (null)
number of ops:  20
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '012345'
    4     1        INIT_FCALL                                               'var_dump'
    5     2        INIT_FCALL                                               'ord'
          3        FETCH_DIM_R                                      ~2      !0, 0
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        IS_NOT_IDENTICAL                                 ~4      $3, 48
          7        SEND_VAL                                                 ~4
    6     8        SEND_VAL                                                 48
    7     9        INIT_FCALL                                               'ord'
         10        FETCH_DIM_R                                      ~5      !0, 0
         11        SEND_VAL                                                 ~5
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
    8    14        INIT_FCALL                                               'ini_get'
         15        SEND_VAL                                                 'opcache.optimization_level'
         16        DO_ICALL                                         $7      
         17        SEND_VAR                                                 $7
         18        DO_ICALL                                                 
    9    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.29 ms | 1399 KiB | 19 Q