3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number1 = 354.2550; $number2 = 38456.12; echo strlen($number1 + 0) . "<br />"; echo strlen($number2 + 0); //echo number_format(round(3.2550, 2), 2, ',', '.') + 0; //echo PHP_EOL; //echo number_format(round(3.4000, 2), 2, ',', '.') + 0;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WRr5H
function name:  (null)
number of ops:  10
compiled vars:  !0 = $number1, !1 = $number2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 354.255
    3     1        ASSIGN                                                   !1, 38456.1
    5     2        ADD                                              ~4      !0, 0
          3        STRLEN                                           ~5      ~4
          4        CONCAT                                           ~6      ~5, '%3Cbr+%2F%3E'
          5        ECHO                                                     ~6
    6     6        ADD                                              ~7      !1, 0
          7        STRLEN                                           ~8      ~7
          8        ECHO                                                     ~8
   10     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.97 ms | 1392 KiB | 13 Q