3v4l.org

run code in 500+ PHP versions simultaneously
<?php // 我: I, me // 你: you //echo clamp(-1, "我", "你"); echo clamp(-1, "I", "you"); //PHP Fatal error: Uncaught ValueError: clamp(): Argument #2 ($min) must be smaller than or equal to argument #3 ($max)
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gFILb
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL_BY_NAME                                           'clamp'
          1        SEND_VAL_EX                                                  -1
          2        SEND_VAL_EX                                                  'I'
          3        SEND_VAL_EX                                                  'you'
          4        DO_FCALL                                          0  $0      
          5        ECHO                                                         $0
    8     6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.76 ms | 481 KiB | 9 Q