3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "sdfsfs"; $a = floatval($s); echo $a; $t = "50x0.03"; echo is_numeric($t);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uc9Pf
function name:  (null)
number of ops:  10
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        CAST                                          5  ~4      !0
          2        ASSIGN                                                   !1, ~4
    4     3        ECHO                                                     !1
    7     4        ASSIGN                                                   !2, '50x0.03'
    8     5        INIT_FCALL                                               'is_numeric'
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $7      
          8        ECHO                                                     $7
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.64 ms | 1393 KiB | 15 Q