3v4l.org

run code in 300+ PHP versions simultaneously
<?php $qqq=array ( 0 => array ( 'id' => '5254', 'name' => 'プロテーマ', 'description_outline' => 'テスト', 'category_id' => '1006', 'category_name' => 'ダイエット', 'display_start_at' => 'Dec 19 2016 12:00:00:000AM', 'upload_id' => '1150', 'upload_path' => '/media/theme/', 'upload_ext' => 'jpg', ), 1 => array ( 'id' => '5190', 'name' => 'プロのテーマ(終わりなし)', 'description_outline' => 'ないよ', 'category_id' => '1003', 'category_name' => 'メイクアップ', 'display_start_at' => 'Jun 25 2015 12:00:00:000AM', 'upload_id' => NULL, 'upload_path' => NULL, 'upload_ext' => NULL, ), 2 => array ( 'id' => '5182', 'name' => 'ドクターテーマ', 'description_outline' => 'ドクター', 'category_id' => '1011', 'category_name' => 'ドクター', 'display_start_at' => 'Jun 24 2015 12:00:00:000AM', 'upload_id' => NULL, 'upload_path' => NULL, 'upload_ext' => NULL, ), 3 => array ( 'id' => '5057', 'name' => '5057手術を伴わないキレイになるコラム', 'description_outline' => '手術をしないでキレイになるためのあらゆる情報を専門のドクターがお届け! 「お肌が最近荒れ気味で…」「プチ整形ってどんなの?」などの疑問や悩みをお持ちのあなたに、お役立ちのコラムです。', 'category_id' => '1011', 'category_name' => 'ドクター', 'display_start_at' => 'Mar 1 2015 12:00:00:000AM', 'upload_id' => '1116', 'upload_path' => '/media/theme/', 'upload_ext' => 'jpg', ), ); $bbb= array ( 0 => '5184', 1 => '5188', 2 => '5190', 3 => '5254', ); foreach ($qqq as $val) { $aaa .= in_array($val['id'],$bbb); } var_dump($aaa);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 11
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/OeCXW
function name:  (null)
number of ops:  16
compiled vars:  !0 = $qqq, !1 = $bbb, !2 = $val, !3 = $aaa
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   53     1        ASSIGN                                                   !1, <array>
   60     2      > FE_RESET_R                                       $6      !0, ->11
          3    > > FE_FETCH_R                                               $6, !2, ->11
   61     4    >   INIT_FCALL                                               'in_array'
          5        FETCH_DIM_R                                      ~7      !2, 'id'
          6        SEND_VAL                                                 ~7
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        ASSIGN_OP                                     8          !3, $8
   60    10      > JMP                                                      ->3
         11    >   FE_FREE                                                  $6
   65    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !3
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.11 ms | 1395 KiB | 17 Q