3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf('%+d', intval('-10')); printf('%+d', intval('+10')); printf('%+d', intval('-qqq')); printf('%+d', intval('+www'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YJuMM
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'printf'
          1        SEND_VAL                                                 '%25%2Bd'
          2        CAST                                          4  ~0      '-10'
          3        SEND_VAL                                                 ~0
          4        DO_ICALL                                                 
    3     5        INIT_FCALL                                               'printf'
          6        SEND_VAL                                                 '%25%2Bd'
          7        CAST                                          4  ~2      '%2B10'
          8        SEND_VAL                                                 ~2
          9        DO_ICALL                                                 
    4    10        INIT_FCALL                                               'printf'
         11        SEND_VAL                                                 '%25%2Bd'
         12        CAST                                          4  ~4      '-qqq'
         13        SEND_VAL                                                 ~4
         14        DO_ICALL                                                 
    5    15        INIT_FCALL                                               'printf'
         16        SEND_VAL                                                 '%25%2Bd'
         17        CAST                                          4  ~6      '%2Bwww'
         18        SEND_VAL                                                 ~6
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.64 ms | 1395 KiB | 15 Q