3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 8.9; $b = var_export(round($a, 2), true); var_dump(assert($a === $b)); echo $a ." \n"; echo $b;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QuR0B
function name:  (null)
number of ops:  23
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 8.9
    5     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL                                               'round'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    7    10        INIT_FCALL                                               'var_dump'
         11        ASSERT_CHECK                                     $7      
         12        INIT_FCALL                                               'assert'
         13        IS_IDENTICAL                                     ~6      !0, !1
         14        SEND_VAL                                                 ~6
         15        SEND_VAL                                                 'assert%28%24a+%3D%3D%3D+%24b%29'
         16        DO_ICALL                                         $7      
         17        SEND_VAR                                                 $7
         18        DO_ICALL                                                 
    9    19        CONCAT                                           ~9      !0, '+%0A'
         20        ECHO                                                     ~9
   10    21        ECHO                                                     !1
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.75 ms | 1395 KiB | 21 Q