3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = "sdfsfs"; $a = floatval($s); echo $a; $t = trim("2342 "); echo is_numeric($t);
based on nniCV
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/sc1IJ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $s, !1 = $a, !2 = $t
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 'sdfsfs'
   3     1        INIT_FCALL                                               'floatval'
         2        SEND_VAR                                                 !0
         3        DO_ICALL                                         $4      
         4        ASSIGN                                                   !1, $4
   4     5        ECHO                                                     !1
   7     6        INIT_FCALL                                               'trim'
         7        SEND_VAL                                                 '2342++++++++'
         8        DO_ICALL                                         $6      
         9        ASSIGN                                                   !2, $6
   8    10        INIT_FCALL                                               'is_numeric'
        11        SEND_VAR                                                 !2
        12        DO_ICALL                                         $8      
        13        ECHO                                                     $8
        14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0