3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nettoyer = function ($text) { $text = (string) $text; // note : null devient '' $text = html_entity_decode($text, ENT_QUOTES, 'UTF-8'); // certaines données sont encodées $text = strip_tags($text); // certaines données contiennent des balises HTML (<a>, <span>, ...) $text = trim($text, " \t\n\r\0\x0B\xC2\xA0"); // "\xC2\xA0" espace insécable UTF-8 return $text; };
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n2Zq6
function name:  (null)
number of ops:  3
compiled vars:  !0 = $nettoyer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Fn2Zq6%3A3%240'
          1        ASSIGN                                                   !0, ~1
    9     2      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2Fn2Zq6%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n2Zq6
function name:  {closure}
number of ops:  20
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        CAST                                          6  ~1      !0
          2        ASSIGN                                                   !0, ~1
    5     3        INIT_FCALL                                               'html_entity_decode'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 3
          6        SEND_VAL                                                 'UTF-8'
          7        DO_ICALL                                         $3      
          8        ASSIGN                                                   !0, $3
    6     9        INIT_FCALL                                               'strip_tags'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !0, $5
    7    13        INIT_FCALL                                               'trim'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 '+%09%0A%0D%00%0B%C2%A0'
         16        DO_ICALL                                         $7      
         17        ASSIGN                                                   !0, $7
    8    18      > RETURN                                                   !0
    9    19*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2Fn2Zq6%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.89 ms | 1395 KiB | 19 Q