3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.36 ms | 1395 KiB | 21 Q