3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '614 602 613 601 617 605 619 607 615 603 678 594 703 701 697 695 677 593 702 699 696 693 650 647 649 646 648 645'; $string = explode("\n", $string); reset($string); sort($string); reset($string); foreach($string as $x) { echo 'case ' . $x . ':' . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 22
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 22
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/qjM07
function name:  (null)
number of ops:  24
compiled vars:  !0 = $string, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '614%0A602%0A613%0A601%0A617%0A605%0A619%0A607%0A615%0A603%0A678%0A594%0A703%0A701%0A697%0A695%0A677%0A593%0A702%0A699%0A696%0A693%0A650%0A647%0A649%0A646%0A648%0A645'
   31     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
   32     6        INIT_FCALL                                               'reset'
          7        SEND_REF                                                 !0
          8        DO_ICALL                                                 
   33     9        INIT_FCALL                                               'sort'
         10        SEND_REF                                                 !0
         11        DO_ICALL                                                 
   34    12        INIT_FCALL                                               'reset'
         13        SEND_REF                                                 !0
         14        DO_ICALL                                                 
   36    15      > FE_RESET_R                                       $8      !0, ->22
         16    > > FE_FETCH_R                                               $8, !1, ->22
   37    17    >   CONCAT                                           ~9      'case+', !1
         18        CONCAT                                           ~10     ~9, '%3A'
         19        CONCAT                                           ~11     ~10, '%0A'
         20        ECHO                                                     ~11
   36    21      > JMP                                                      ->16
         22    >   FE_FREE                                                  $8
   38    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.12 ms | 1395 KiB | 19 Q