3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "125-4.5,103-4.5,103-4.5,5-4.5,103-4.5,59-4.5,22-4.5,81-4.5,113-4.5,5-4.5,121-4.5,113-4.5,16-4.5,103-4.5,5-4.5,113-4.5,68-4.5,103-4.5,5-5,117-4.5,113-4.5,113-4.5,113-4.5,113-4,41-4,5-4,5-4,113-4.5,95-4,113-4.5,4-4,82-4.5,86-4,82-4.5,82-4.5,103-4,103-4.5,87-4,113-4.5,113-4.5,65-4,113-4,82-4,114-4,82-5,125-4,8-4,113-4,113-4,113-4.5,113-4.5,86-4,103-4.5,113-4,96-4,103-4,68-4,16-4,98-4.5,103-5,59-4,95-4,113-4.5,121-5,8-4,125-4,82-4.5,95-4,103-4,113-5,113-4,6-4,87-3.5,113-4.5,125-4,113-4.5,113-4,113-4.5,116-4,124-4,113-4,113-4.5,68-3.5,68-4.5,88-3.5,113-4.5,113-4,82-3.5,103-4,103-4.5,72-4,81-4,113-5,32-4,82-4.5,103-4,68-4,22-5,113-4.5,113-4,57-5,32-3.5,103-5,114-4,87-3.5,69-4,87-5,113-4,121-4.5,113-3.5,113-3.5,113-4.5,95-4,113-5,113-4.5,113-3,113-4.5,113-4,134-3.5,134-4.5,113-4,103-4,59-3.5,82-4.5,103-4,113-4.5,113-4,82-4,113-5,5-5,95-5,113-5,113-5,103-4.5,103-4,61-3.5,113-4,109-4,113-5,113-5,113-5,8-4,103-4,95-4.5,113-4,86-3,22-4,59-4,113-5,87-3.5,113-5,103-3.5,8-3.5,96-3.5,103-4,22-4,87-3.5,87-3.5,132-4,95-3.5,95-4,113-4,95-4,103-3.5,96-5,103-3.5,95-3.5,95-3.5,78-3,95-3.5,55-4.5,78-3,113-4,16-3.5,113-5,113-5,113-4.5,5-4,103-4,113-4,113-4,113-3.5,50-4,103-3.5,103-3.5,113-4,59-4,68-3.5,113-5,6-3.5,113-5,113-5,113-4,117-3.5,113-4,113-4,129-3,61-3.5,113-5,1-3,95-5,103-5,121-3.5,103-3.5,113-4,113-4,5-4,113-5,109-3,113-5,16-4,103-3.5,96-3,57-3.5,117-3,82-3,117-3,113-3,113-3.5,59-3,113-3.5,113-2,57-1,113-4,113-4,1-2,57-1.5,134-1.5,2-1.5,68-1.5,51-1.5,1-1.5,41-1.5,114-1.5,41-1.5,103-1.5,55-1.5,113-1.5,103-1.5,113-1.5,5-1.5,103-1.5,113-1.5,103-1.5,113-0,114-0,113-0,113-0,103-0,113-0,113-0,113-0,113-0,113-0,50-0,59-0,108-0,125-0,113-0,121-0,113-0,95-0,113-0,113-0,113-0,5-0,41-0,113-0,113-0,113-0,103-0,113-0,113-0,113-0,113-5,113-0,57-0,57-0,113-0,82-0,113-0,78-4.5,59-4.5,68-4.5,78-4.5,68-4.5,56-4.5,103-4.5,5-4.5,82-4.5,114-4.5,41-4.5,80-4.5,71-4.5,82-4.5,72-4.5,78-4.5,103-5,88-4,61-4,22-4,51-4,5-4,5-4.5,47-4,82-4,1-4,78-4.5,111-4,47-4,135-4,5-4,82-4,71-3.5,115-4,1-4,129-4,87-4,59-5,5-5,7-4,115-3.5,51-4,57-4.5,5-3.5,61-4,5-4.5,24-4.5,82-3.5,114-3.5,110-3.5,45-3,134-3,5-4,41-4,78-3.5,82-4,78-4,78-3.5,2-3.5,95-4,61-4,5-3.5,129-3,103-5,78-5,5-5,89-3,55-3,129-2,103-1.5,5-1.5,96-1.5,113-1.5,2-1.5,114-1.5,5-0,87-0,65-0,103-0"; for($i=0;$i<200;$i++){ $tempArr = explode(',',$string); $arr = array_map(function($s) { return explode('-', $s); }, $tempArr); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 3
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 3
Branch analysis from position: 17
Branch analysis from position: 3
filename:       /in/Ftjc2
function name:  (null)
number of ops:  18
compiled vars:  !0 = $string, !1 = $i, !2 = $tempArr, !3 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '125-4.5%2C103-4.5%2C103-4.5%2C5-4.5%2C103-4.5%2C59-4.5%2C22-4.5%2C81-4.5%2C113-4.5%2C5-4.5%2C121-4.5%2C113-4.5%2C16-4.5%2C103-4.5%2C5-4.5%2C113-4.5%2C68-4.5%2C103-4.5%2C5-5%2C117-4.5%2C113-4.5%2C113-4.5%2C113-4.5%2C113-4%2C41-4%2C5-4%2C5-4%2C113-4.5%2C95-4%2C113-4.5%2C4-4%2C82-4.5%2C86-4%2C82-4.5%2C82-4.5%2C103-4%2C103-4.5%2C87-4%2C113-4.5%2C113-4.5%2C65-4%2C113-4%2C82-4%2C114-4%2C82-5%2C125-4%2C8-4%2C113-4%2C113-4%2C113-4.5%2C113-4.5%2C86-4%2C103-4.5%2C113-4%2C96-4%2C103-4%2C68-4%2C16-4%2C98-4.5%2C103-5%2C59-4%2C95-4%2C113-4.5%2C121-5%2C8-4%2C125-4%2C82-4.5%2C95-4%2C103-4%2C113-5%2C113-4%2C6-4%2C87-3.5%2C113-4.5%2C125-4%2C113-4.5%2C113-4%2C113-4.5%2C116-4%2C124-4%2C113-4%2C113-4.5%2C68-3.5%2C68-4.5%2C88-3.5%2C113-4.5%2C113-4%2C82-3.5%2C103-4%2C103-4.5%2C72-4%2C81-4%2C113-5%2C32-4%2C82-4.5%2C103-4%2C68-4%2C22-5%2C113-4.5%2C113-4%2C57-5%2C32-3.5%2C103-5%2C114-4%2C87-3.5%2C69-4%2C87-5%2C113-4%2C121-4.5%2C113-3.5%2C113-3.5%2C113-4.5%2C95-4%2C113-5%2C113-4.5%2C113-3%2C113-4.5%2C113-4%2C134-3.5%2C134-4.5%2C113-4%2C103-4%2C59-3.5%2C82-4.5%2C103-4%2C113-4.5%2C113-4%2C82-4%2C113-5%2C5-5%2C95-5%2C113-5%2C113-5%2C103-4.5%2C103-4%2C61-3.5%2C113-4%2C109-4%2C113-5%2C113-5%2C113-5%2C8-4%2C103-4%2C95-4.5%2C113-4%2C86-3%2C22-4%2C59-4%2C113-5%2C87-3.5%2C113-5%2C103-3.5%2C8-3.5%2C96-3.5%2C103-4%2C22-4%2C87-3.5%2C87-3.5%2C132-4%2C95-3.5%2C95-4%2C113-4%2C95-4%2C103-3.5%2C96-5%2C103-3.5%2C95-3.5%2C95-3.5%2C78-3%2C95-3.5%2C55-4.5%2C78-3%2C113-4%2C16-3.5%2C113-5%2C113-5%2C113-4.5%2C5-4%2C103-4%2C113-4%2C113-4%2C113-3.5%2C50-4%2C103-3.5%2C103-3.5%2C113-4%2C59-4%2C68-3.5%2C113-5%2C6-3.5%2C113-5%2C113-5%2C113-4%2C117-3.5%2C113-4%2C113-4%2C129-3%2C61-3.5%2C113-5%2C1-3%2C95-5%2C103-5%2C121-3.5%2C103-3.5%2C113-4%2C113-4%2C5-4%2C113-5%2C109-3%2C113-5%2C16-4%2C103-3.5%2C96-3%2C57-3.5%2C117-3%2C82-3%2C117-3%2C113-3%2C113-3.5%2C59-3%2C113-3.5%2C113-2%2C57-1%2C113-4%2C113-4%2C1-2%2C57-1.5%2C134-1.5%2C2-1.5%2C68-1.5%2C51-1.5%2C1-1.5%2C41-1.5%2C114-1.5%2C41-1.5%2C103-1.5%2C55-1.5%2C113-1.5%2C103-1.5%2C113-1.5%2C5-1.5%2C103-1.5%2C113-1.5%2C103-1.5%2C113-0%2C114-0%2C113-0%2C113-0%2C103-0%2C113-0%2C113-0%2C113-0%2C113-0%2C113-0%2C50-0%2C59-0%2C108-0%2C125-0%2C113-0%2C121-0%2C113-0%2C95-0%2C113-0%2C113-0%2C113-0%2C5-0%2C41-0%2C113-0%2C113-0%2C113-0%2C103-0%2C113-0%2C113-0%2C113-0%2C113-5%2C113-0%2C57-0%2C57-0%2C113-0%2C82-0%2C113-0%2C78-4.5%2C59-4.5%2C68-4.5%2C78-4.5%2C68-4.5%2C56-4.5%2C103-4.5%2C5-4.5%2C82-4.5%2C114-4.5%2C41-4.5%2C80-4.5%2C71-4.5%2C82-4.5%2C72-4.5%2C78-4.5%2C103-5%2C88-4%2C61-4%2C22-4%2C51-4%2C5-4%2C5-4.5%2C47-4%2C82-4%2C1-4%2C78-4.5%2C111-4%2C47-4%2C135-4%2C5-4%2C82-4%2C71-3.5%2C115-4%2C1-4%2C129-4%2C87-4%2C59-5%2C5-5%2C7-4%2C115-3.5%2C51-4%2C57-4.5%2C5-3.5%2C61-4%2C5-4.5%2C24-4.5%2C82-3.5%2C114-3.5%2C110-3.5%2C45-3%2C134-3%2C5-4%2C41-4%2C78-3.5%2C82-4%2C78-4%2C78-3.5%2C2-3.5%2C95-4%2C61-4%2C5-3.5%2C129-3%2C103-5%2C78-5%2C5-5%2C89-3%2C55-3%2C129-2%2C103-1.5%2C5-1.5%2C96-1.5%2C113-1.5%2C2-1.5%2C114-1.5%2C5-0%2C87-0%2C65-0%2C103-0'
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->15
    6     3    >   INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '%2C'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !2, $6
    7     8        INIT_FCALL                                               'array_map'
          9        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FFtjc2%3A7%240'
    9    10        SEND_VAL                                                 ~8
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $9      
    7    13        ASSIGN                                                   !3, $9
    5    14        PRE_INC                                                  !1
         15    >   IS_SMALLER                                               !1, 200
         16      > JMPNZ                                                    ~12, ->3
   10    17    > > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FFtjc2%3A7%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ftjc2
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '-'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5      > RETURN                                                   $1
    9     6*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FFtjc2%3A7%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.13 ms | 1400 KiB | 17 Q