3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(strtoupper(1)); var_dump(strtoupper(1.2)); var_dump(strtoupper(false)); var_dump(strtoupper('a')); var_dump(strtoupper(NULL)); var_dump(strtoupper('' == '')); var_dump(strtoupper(NULL == '')); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gvXmr
function name:  (null)
number of ops:  43
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'strtoupper'
          2        SEND_VAL                                                     1
          3        DO_ICALL                                             $0      
          4        SEND_VAR                                                     $0
          5        DO_ICALL                                                     
    4     6        INIT_FCALL                                                   'var_dump'
          7        INIT_FCALL                                                   'strtoupper'
          8        SEND_VAL                                                     1.2
          9        DO_ICALL                                             $2      
         10        SEND_VAR                                                     $2
         11        DO_ICALL                                                     
    5    12        INIT_FCALL                                                   'var_dump'
         13        INIT_FCALL                                                   'strtoupper'
         14        SEND_VAL                                                     <false>
         15        DO_ICALL                                             $4      
         16        SEND_VAR                                                     $4
         17        DO_ICALL                                                     
    6    18        INIT_FCALL                                                   'var_dump'
         19        INIT_FCALL                                                   'strtoupper'
         20        SEND_VAL                                                     'a'
         21        DO_ICALL                                             $6      
         22        SEND_VAR                                                     $6
         23        DO_ICALL                                                     
    7    24        INIT_FCALL                                                   'var_dump'
         25        INIT_FCALL                                                   'strtoupper'
         26        SEND_VAL                                                     null
         27        DO_ICALL                                             $8      
         28        SEND_VAR                                                     $8
         29        DO_ICALL                                                     
    9    30        INIT_FCALL                                                   'var_dump'
         31        INIT_FCALL                                                   'strtoupper'
         32        SEND_VAL                                                     <true>
         33        DO_ICALL                                             $10     
         34        SEND_VAR                                                     $10
         35        DO_ICALL                                                     
   10    36        INIT_FCALL                                                   'var_dump'
         37        INIT_FCALL                                                   'strtoupper'
         38        SEND_VAL                                                     <true>
         39        DO_ICALL                                             $12     
         40        SEND_VAR                                                     $12
         41        DO_ICALL                                                     
   12    42      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.19 ms | 1886 KiB | 15 Q