3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 5.345; $y = '0.00'; $z = 'abc123'; echo is_numeric($x)."1\n"; echo is_numeric($y)."2\n"; echo is_numeric($z)."3\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sEvqC
function name:  (null)
number of ops:  19
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 5.345
    4     1        ASSIGN                                                   !1, '0.00'
    5     2        ASSIGN                                                   !2, 'abc123'
    7     3        INIT_FCALL                                               'is_numeric'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $6      
          6        CONCAT                                           ~7      $6, '1%0A'
          7        ECHO                                                     ~7
    8     8        INIT_FCALL                                               'is_numeric'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $8      
         11        CONCAT                                           ~9      $8, '2%0A'
         12        ECHO                                                     ~9
    9    13        INIT_FCALL                                               'is_numeric'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $10     
         16        CONCAT                                           ~11     $10, '3%0A'
         17        ECHO                                                     ~11
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.86 ms | 1399 KiB | 15 Q