<?php
set_time_limit(0);
ini_set('display_errors', 1);
ini_set('memory_limit', '1000M');
//read from csv
$lines = file('E:\datalinks+.csv');
$dates=array();
foreach ($lines as $line_num => $line) {
// echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br />\n";
//$data =explode(",",strip_tags($line));
//$dates[]=date('Ymd',strtotime($data[0]));
$dates[]="http://aviation-safety.net".$line;
}
print_r($dates);
exit;
//$data=array();
$replace=array('\n',',');
$header=array('Status','Date','Time','Type','Operator','Leased from','Registration','msn','First Filght','Total airframe hrs','Engines','Crew','Passengers','Total','Ground casualties','Collision casualties','Cycles','Damage','Fate','Location','Phase','Nature','Depart Airport','Destination Airport','Flightnumber');
$str=implode(',',$header)." \n";
$i=1;
//$data=array(array('status','date','time','type','registration','msn','FirstFlight','crew','passengers','total','Groundcasualties','Collisioncasualties','Flightnumber','Engines','Cycles','Totalairframehrs','Leased from','Operator','damage','fate','Location','Phase','Depart Airport','Destination','Departure'));
foreach($dates as $id => $dval){
if($id<3000) continue;
//else break;
//print_r($dates);
//exit;
//echo "http://aviation-safety.net/database/record.php?id=".$dval."-0 <br>" ;
//$data = file_get_contents("http://aviation-safety.net/database/record.php?id=".$dval."-0");
$content = file_get_contents($dval);
//echo $data;
//exit;
//preg_match_all("/(<([table]+)[^>]*>)(.*)?<\/table>/", $data, $match);
//print_r($match);
//exit;
$data[$i]['status'][$i]=0;
$data[$i]['date'][$i]=0;
$data[$i]['time'][$i]=0;
$data[$i]['type'][$i]=0;
$data[$i]['registration'][$i]=0;
$data[$i]['msn'][$i]=0;
$data[$i]['FirstFlight'][$i]=0;
$data[$i]['crew'][$i]=0;
$data[$i]['passengers'][$i]=0;
$data[$i]['total'][$i]=0;
$data[$i]['Groundcasualties'][$i]=0;
$data[$i]['Collisioncasualties'][$i]=0;
$data[$i]['Flightnumber'][$i]=0;
$data[$i]['Engines'][$i]=0;
$data[$i]['Cycles'][$i]=0;
$data[$i]['Totalairframehrs'][$i]=0;
$data[$i]['Leased from'][$i]=0;
$data[$i]['Operator'][$i]=0;
$data[$i]['damage'][$i]=0;
$data[$i]['fate'][$i]=0;
$data[$i]['Location'][$i]=0;
$data[$i]['Phase'][$i]=0;
$data[$i]['Destination'][$i]=0;
$data[$i]['Departure'][$i]=0;
//***************
//echo $data;
$val = preg_split('<table>',$content);
$val2 = preg_split('</table>',$val[1]);
//echo strip_tags($val2[0]);
$val3 = explode('</tr>',$val2[0]);
// print_r($val3);
//exit;
$str.=" ,";
foreach($val3 as $in => $val4){
//if($in<3) continue;
//else break;
//draw Date
$pos = strpos($val4, "Status");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['status'][$i]=strip_tags(stripslashes(trim($test)));
}
//draw Date
$pos = strpos($val4, "Date");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['date'][$i]=strip_tags(stripslashes(trim($test)));
}
$pos = strpos($val4, "Time");
if ($pos !== false ) {
//echo "Time found";
//exit;
$time = explode(":",strip_tags($val4));
$str.=" ".$time[1].":".$time[2].",";
$flag=1;
$data[$i]['time'][$i]=strip_tags(stripslashes(trim(" ".$time[1].":".$time[2]."")));
}else{
$pos = strpos($val4, "Type");
if ($pos !== false && $in==2) {
$str.="00:00,";
$data[$i]['time'][$i]=strip_tags(stripslashes(trim("00:00")));
}
}
//draw Typpe //Type
$pos = strpos($val4, "Type");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['type'][$i]=strip_tags(stripslashes(trim($test)));
}
//draw //Registration
$pos = strpos($val4, "Registration");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['registration'][$i]=strip_tags(stripslashes(trim($test)));
}
//draw //msn
$pos = strpos($val4, "msn");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['msn'][$i]=strip_tags(stripslashes(trim($test)));
}
//draw //First Filght
$pos = strpos($val4, "First flight");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['FirstFlight'][$i]=strip_tags(stripslashes(trim($test)));
}
//echo strip_tags($val4)." -- ".$in."<br>";
$flag=0;
$pos = strpos($val4, "Crew");
if ($pos !== false) {
$temp = explode("/",strip_tags($val4));
$fat = explode(":",strip_tags($temp[0]));
$occ = explode(":",strip_tags($temp[1]));
//print_r($occ);
//print_r($fat);
$str.=" '".$fat[2]."' / '".$occ[1]."',";
$flag=1;
$data[$i]['crew'][$i]=trim(" '".$fat[2]."' / '".$occ[1]."'");
}
$pos = strpos($val4, "Passengers");
if ($pos !== false) {
$temp = explode("/",strip_tags($val4));
$fat = explode(":",strip_tags($temp[0]));
$occ = explode(":",strip_tags($temp[1]));
//print_r($occ);
//print_r($fat);
$str.=" '".$fat[2]."' / '".$occ[1]."',";
$flag=1;
$data[$i]['passengers'][$i]=trim(" '".$fat[2]."' / '".$occ[1]."'");
}
$pos = strpos($val4, "Total:");
if ($pos !== false) {
$temp = explode("/",strip_tags($val4));
$fat = explode(":",strip_tags($temp[0]));
$occ = explode(":",strip_tags($temp[1]));
//print_r($occ);
//print_r($fat);
$str.=" ".$fat[2]." / ".$occ[1].",";
$flag=1;
$data[$i]['total'][$i]=trim(" ".$fat[2]." / ".$occ[1]."");
}
$pos = strpos($val4, "Ground casualties");
if ($pos !== false) {
$temp = explode(":",strip_tags($val4));
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" ".strip_tags($temp[1]).",";
$data[$i]['Groundcasualties'][$i]=trim(strip_tags($test));
$flag=1;
}
$pos = strpos($val4, "Collision casualties");
if ($pos !== false) {
$temp = explode(":",strip_tags($val4));
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" ".strip_tags($temp[1]).",";
$data[$i]['Collisioncasualties'][$i]=trim(strip_tags($test));
$flag=1;
}
//Flightnumber
$pos = strpos($val4, "Flightnumber");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Flightnumber'][$i]=trim(strip_tags($test));
}
//Flightnumber
$pos = strpos($val4, "Engines");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Engines'][$i]=trim(strip_tags($test));
}
//Cycles
$pos = strpos($val4, "Cycles");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Cycles'][$i]=trim(strip_tags($test));
}
//Total airframe hrs
$pos = strpos($val4, "Total airframe hrs");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Totalairframehrs'][$i]=trim(strip_tags($test));
}
//draw Leased from
$pos = strpos($val4, "Leased from");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Leased from'][$i]=trim(strip_tags($test));
}
//draw //Operator
$pos = strpos($val4, "Operator");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Operator'][$i]=trim(strip_tags($test));
}
//draw //Operator
$pos = strpos($val4, "damage");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['damage'][$i]=trim(strip_tags($test));
}
//draw //Operator
$pos = strpos($val4, "fate");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['fate'][$i]=trim(strip_tags($test));
}
//draw //Operator
$pos = strpos($val4, "Location");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
//$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Location'][$i]=trim(strip_tags($test));
}
$pos = strpos($val4, "Phase");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Phase'][$i]=trim(strip_tags($test));
}
//Depart Airport','Destination
$pos = strpos($val4, "Destination");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Destination'][$i]=trim(strip_tags($test));
}
$pos = strpos($val4, "Departure");
if ($pos !== false) {
$temp = explode(":",$val4);
$test =str_replace($replace," ", trim(strip_tags($temp[1])));
//$str.=" '".strip_tags(stripslashes(trim($temp[1])))."',";
$str.=" ".strip_tags(stripslashes(trim($test))).",";
$data[$i]['Departure'][$i]=trim(strip_tags($test));
}
/*
if($in !=7 && $in !=8 && $in !=9){
$temp = explode(":",$val4);
$str.=" ".strip_tags($temp[1])." ,";
}else{
$temp = explode("/",strip_tags($val4));
$fat = explode(":",strip_tags($temp[0]));
$occ = explode(":",strip_tags($temp[1]));
print_r($occ);
print_r($fat);
$str.="".$fat[2]."/".$occ[1].",";
}
*/
}
//echo $str;
//exit;
//echo $str;
// $val3;
//exit;
/*
preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $data, $matches, PREG_SET_ORDER);
//preg_match_all("/<table>[\s\w\/<>=\\\"]*<\/table>/",$data,$matches);
//print_r($val3);
//print_r($matches);
$i=23;
while($i!=41){
$text = $matches[$i][0];
//echo $text."<br>";
if($i!=35 && $i != 36){
$vals = explode(":",strip_tags($text));
$str.=' '.$vals[1].' ,';
$i++;
}elseif($i==36){
$str.=' '.$matches[$i][3].' ,';
$i++;
}else{
$i++;
}
// echo $matches[$i][3]."<br>";
}
*/
//echo $str;
//exit;
//$str = substr($str,0,-5);
//echo $str;
$i++;
//$str.=" \n";
if($id ==12000) break;
}//end for loop
//print_r($data);
//exit;
$str='';
$file='E:\sampleNew3k_12000.csv';
$f = fopen($file,'w+');
foreach($data as $id => $val){
//print_r($val); exit;
foreach($val as $in => $v)
$str.=''.$v[$id].",";
$str = substr($str,0,-1)."\n";
//$str=implode(',',array_values($val))."\n";
//echo $str;
fwrite($f,$str,strlen($str));
$str='';
}
fclose($f);//echo phpinfo();
?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 17, Position 2 = 23
Branch analysis from position: 17
2 jumps found. (Code = 78) Position 1 = 18, Position 2 = 23
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 23
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 23
filename: /in/qMWNW
function name: (null)
number of ops: 1215
compiled vars: !0 = $lines, !1 = $dates, !2 = $line, !3 = $line_num, !4 = $replace, !5 = $header, !6 = $str, !7 = $i, !8 = $dval, !9 = $id, !10 = $content, !11 = $data, !12 = $val, !13 = $val2, !14 = $val3, !15 = $val4, !16 = $in, !17 = $pos, !18 = $temp, !19 = $test, !20 = $time, !21 = $flag, !22 = $fat, !23 = $occ, !24 = $file, !25 = $f, !26 = $v
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > INIT_FCALL 'set_time_limit'
1 SEND_VAL 0
2 DO_ICALL
3 3 INIT_FCALL 'ini_set'
4 SEND_VAL 'display_errors'
5 SEND_VAL 1
6 DO_ICALL
4 7 INIT_FCALL 'ini_set'
8 SEND_VAL 'memory_limit'
9 SEND_VAL '1000M'
10 DO_ICALL
7 11 INIT_FCALL 'file'
12 SEND_VAL 'E%3A%5Cdatalinks%2B.csv'
13 DO_ICALL $30
14 ASSIGN !0, $30
8 15 ASSIGN !1, <array>
10 16 > FE_RESET_R $33 !0, ->23
17 > > FE_FETCH_R ~34 $33, !2, ->23
18 > ASSIGN !3, ~34
14 19 CONCAT ~37 'http%3A%2F%2Faviation-safety.net', !2
20 ASSIGN_DIM !1
21 OP_DATA ~37
10 22 > JMP ->17
23 > FE_FREE $33
16 24 INIT_FCALL 'print_r'
25 SEND_VAR !1
26 DO_ICALL
17 27 > EXIT
19 28* ASSIGN !4, <array>
21 29* ASSIGN !5, <array>
22 30* INIT_FCALL 'implode'
31* SEND_VAL '%2C'
32* SEND_VAR !5
33* DO_ICALL $41
34* CONCAT ~42 $41, '+%0A'
35* ASSIGN !6, ~42
23 36* ASSIGN !7, 1
25 37* FE_RESET_R $45 !1, ->1175
38* FE_FETCH_R ~46 $45, !8, ->1175
39* ASSIGN !9, ~46
28 40* IS_SMALLER !9, 3000
41* JMPZ ~48, ->43
42* JMP ->38
39 43* INIT_FCALL 'file_get_contents'
44* SEND_VAR !8
45* DO_ICALL $49
46* ASSIGN !10, $49
48 47* FETCH_DIM_W $51 !11, !7
48* FETCH_DIM_W $52 $51, 'status'
49* ASSIGN_DIM $52, !7
50* OP_DATA 0
49 51* FETCH_DIM_W $54 !11, !7
52* FETCH_DIM_W $55 $54, 'date'
53* ASSIGN_DIM $55, !7
54* OP_DATA 0
50 55* FETCH_DIM_W $57 !11, !7
56* FETCH_DIM_W $58 $57, 'time'
57* ASSIGN_DIM $58, !7
58* OP_DATA 0
51 59* FETCH_DIM_W $60 !11, !7
60* FETCH_DIM_W $61 $60, 'type'
61* ASSIGN_DIM $61, !7
62* OP_DATA 0
52 63* FETCH_DIM_W $63 !11, !7
64* FETCH_DIM_W $64 $63, 'registration'
65* ASSIGN_DIM $64, !7
66* OP_DATA 0
53 67* FETCH_DIM_W $66 !11, !7
68* FETCH_DIM_W $67 $66, 'msn'
69* ASSIGN_DIM $67, !7
70* OP_DATA 0
54 71* FETCH_DIM_W $69 !11, !7
72* FETCH_DIM_W $70 $69, 'FirstFlight'
73* ASSIGN_DIM $70, !7
74* OP_DATA 0
55 75* FETCH_DIM_W $72 !11, !7
76* FETCH_DIM_W $73 $72, 'crew'
77* ASSIGN_DIM $73, !7
78* OP_DATA 0
56 79* FETCH_DIM_W $75 !11, !7
80* FETCH_DIM_W $76 $75, 'passengers'
81* ASSIGN_DIM $76, !7
82* OP_DATA 0
57 83* FETCH_DIM_W $78 !11, !7
84* FETCH_DIM_W $79 $78, 'total'
85* ASSIGN_DIM $79, !7
86* OP_DATA 0
58 87* FETCH_DIM_W $81 !11, !7
88* FETCH_DIM_W $82 $81, 'Groundcasualties'
89* ASSIGN_DIM $82, !7
90* OP_DATA 0
59 91* FETCH_DIM_W $84 !11, !7
92* FETCH_DIM_W $85 $84, 'Collisioncasualties'
93* ASSIGN_DIM $85, !7
94* OP_DATA 0
60 95* FETCH_DIM_W $87 !11, !7
96* FETCH_DIM_W $88 $87, 'Flightnumber'
97* ASSIGN_DIM $88, !7
98* OP_DATA 0
61 99* FETCH_DIM_W $90 !11, !7
100* FETCH_DIM_W $91 $90, 'Engines'
101* ASSIGN_DIM $91, !7
102* OP_DATA 0
62 103* FETCH_DIM_W $93 !11, !7
104* FETCH_DIM_W $94 $93, 'Cycles'
105* ASSIGN_DIM $94, !7
106* OP_DATA 0
63 107* FETCH_DIM_W $96 !11, !7
108* FETCH_DIM_W $97 $96, 'Totalairframehrs'
109* ASSIGN_DIM $97, !7
110* OP_DATA 0
64 111* FETCH_DIM_W $99 !11, !7
112* FETCH_DIM_W $100 $99, 'Leased+from'
113* ASSIGN_DIM $100, !7
114* OP_DATA 0
65 115* FETCH_DIM_W $102 !11, !7
116* FETCH_DIM_W $103 $102, 'Operator'
117* ASSIGN_DIM $103, !7
118* OP_DATA 0
66 119* FETCH_DIM_W $105 !11, !7
120* FETCH_DIM_W $106 $105, 'damage'
121* ASSIGN_DIM $106, !7
122* OP_DATA 0
67 123* FETCH_DIM_W $108 !11, !7
124* FETCH_DIM_W $109 $108, 'fate'
125* ASSIGN_DIM $109, !7
126* OP_DATA 0
68 127* FETCH_DIM_W $111 !11, !7
128* FETCH_DIM_W $112 $111, 'Location'
129* ASSIGN_DIM $112, !7
130* OP_DATA 0
69 131* FETCH_DIM_W $114 !11, !7
132* FETCH_DIM_W $115 $114, 'Phase'
133* ASSIGN_DIM $115, !7
134* OP_DATA 0
70 135* FETCH_DIM_W $117 !11, !7
136* FETCH_DIM_W $118 $117, 'Destination'
137* ASSIGN_DIM $118, !7
138* OP_DATA 0
71 139* FETCH_DIM_W $120 !11, !7
140* FETCH_DIM_W $121 $120, 'Departure'
141* ASSIGN_DIM $121, !7
142* OP_DATA 0
80 143* INIT_FCALL 'preg_split'
144* SEND_VAL '%3Ctable%3E'
145* SEND_VAR !10
146* DO_ICALL $123
147* ASSIGN !12, $123
82 148* INIT_FCALL 'preg_split'
149* SEND_VAL '%3C%2Ftable%3E'
150* FETCH_DIM_R ~125 !12, 1
151* SEND_VAL ~125
152* DO_ICALL $126
153* ASSIGN !13, $126
86 154* INIT_FCALL 'explode'
155* SEND_VAL '%3C%2Ftr%3E'
156* FETCH_DIM_R ~128 !13, 0
157* SEND_VAL ~128
158* DO_ICALL $129
159* ASSIGN !14, $129
92 160* ASSIGN_OP 8 !6, '+%2C'
94 161* FE_RESET_R $132 !14, ->1169
162* FE_FETCH_R ~133 $132, !15, ->1169
163* ASSIGN !16, ~133
101 164* INIT_FCALL 'strpos'
165* SEND_VAR !15
166* SEND_VAL 'Status'
167* DO_ICALL $135
168* ASSIGN !17, $135
102 169* TYPE_CHECK 1018 !17
170* JMPZ ~137, ->202
103 171* INIT_FCALL 'explode'
172* SEND_VAL '%3A'
173* SEND_VAR !15
174* DO_ICALL $138
175* ASSIGN !18, $138
104 176* INIT_FCALL 'str_replace'
177* SEND_VAR !4
178* SEND_VAL '+'
179* INIT_FCALL 'trim'
180* INIT_FCALL 'strip_tags'
181* FETCH_DIM_R ~140 !18, 1
182* SEND_VAL ~140
183* DO_ICALL $141
184* SEND_VAR $141
185* DO_ICALL $142
186* SEND_VAR $142
187* DO_ICALL $143
188* ASSIGN !19, $143
107 189* INIT_FCALL 'strip_tags'
190* INIT_FCALL 'stripslashes'
191* INIT_FCALL 'trim'
192* SEND_VAR !19
193* DO_ICALL $148
194* SEND_VAR $148
195* DO_ICALL $149
196* SEND_VAR $149
197* DO_ICALL $150
198* FETCH_DIM_W $145 !11, !7
199* FETCH_DIM_W $146 $145, 'status'
200* ASSIGN_DIM $146, !7
201* OP_DATA $150
111 202* INIT_FCALL 'strpos'
203* SEND_VAR !15
204* SEND_VAL 'Date'
205* DO_ICALL $151
206* ASSIGN !17, $151
112 207* TYPE_CHECK 1018 !17
208* JMPZ ~153, ->240
113 209* INIT_FCALL 'explode'
210* SEND_VAL '%3A'
211* SEND_VAR !15
212* DO_ICALL $154
213* ASSIGN !18, $154
114 214* INIT_FCALL 'str_replace'
215* SEND_VAR !4
216* SEND_VAL '+'
217* INIT_FCALL 'trim'
218* INIT_FCALL 'strip_tags'
219* FETCH_DIM_R ~156 !18, 1
220* SEND_VAL ~156
221* DO_ICALL $157
222* SEND_VAR $157
223* DO_ICALL $158
224* SEND_VAR $158
225* DO_ICALL $159
226* ASSIGN !19, $159
117 227* INIT_FCALL 'strip_tags'
228* INIT_FCALL 'stripslashes'
229* INIT_FCALL 'trim'
230* SEND_VAR !19
231* DO_ICALL $164
232* SEND_VAR $164
233* DO_ICALL $165
234* SEND_VAR $165
235* DO_ICALL $166
236* FETCH_DIM_W $161 !11, !7
237* FETCH_DIM_W $162 $161, 'date'
238* ASSIGN_DIM $162, !7
239* OP_DATA $166
120 240* INIT_FCALL 'strpos'
241* SEND_VAR !15
242* SEND_VAL 'Time'
243* DO_ICALL $167
244* ASSIGN !17, $167
121 245* TYPE_CHECK 1018 !17
246* JMPZ ~169, ->283
125 247* INIT_FCALL 'explode'
248* SEND_VAL '%3A'
249* INIT_FCALL 'strip_tags'
250* SEND_VAR !15
251* DO_ICALL $170
252* SEND_VAR $170
253* DO_ICALL $171
254* ASSIGN !20, $171
126 255* FETCH_DIM_R ~173 !20, 1
256* CONCAT ~174 '+', ~173
257* CONCAT ~175 ~174, '%3A'
258* FETCH_DIM_R ~176 !20, 2
259* CONCAT ~177 ~175, ~176
260* CONCAT ~178 ~177, '%2C'
261* ASSIGN_OP 8 !6, ~178
127 262* ASSIGN !21, 1
128 263* INIT_FCALL 'strip_tags'
264* INIT_FCALL 'stripslashes'
265* INIT_FCALL 'trim'
266* FETCH_DIM_R ~184 !20, 1
267* CONCAT ~185 '+', ~184
268* CONCAT ~186 ~185, '%3A'
269* FETCH_DIM_R ~187 !20, 2
270* CONCAT ~188 ~186, ~187
271* CONCAT ~189 ~188, ''
272* SEND_VAL ~189
273* DO_ICALL $190
274* SEND_VAR $190
275* DO_ICALL $191
276* SEND_VAR $191
277* DO_ICALL $192
278* FETCH_DIM_W $181 !11, !7
279* FETCH_DIM_W $182 $181, 'time'
280* ASSIGN_DIM $182, !7
281* OP_DATA $192
282* JMP ->307
130 283* INIT_FCALL 'strpos'
284* SEND_VAR !15
285* SEND_VAL 'Type'
286* DO_ICALL $193
287* ASSIGN !17, $193
131 288* TYPE_CHECK 1018 ~195 !17
289* JMPZ_EX ~195 ~195, ->292
290* IS_EQUAL ~196 !16, 2
291* BOOL ~195 ~196
292* JMPZ ~195, ->307
132 293* ASSIGN_OP 8 !6, '00%3A00%2C'
133 294* INIT_FCALL 'strip_tags'
295* INIT_FCALL 'stripslashes'
296* INIT_FCALL 'trim'
297* SEND_VAL '00%3A00'
298* DO_ICALL $201
299* SEND_VAR $201
300* DO_ICALL $202
301* SEND_VAR $202
302* DO_ICALL $203
303* FETCH_DIM_W $198 !11, !7
304* FETCH_DIM_W $199 $198, 'time'
305* ASSIGN_DIM $199, !7
306* OP_DATA $203
139 307* INIT_FCALL 'strpos'
308* SEND_VAR !15
309* SEND_VAL 'Type'
310* DO_ICALL $204
311* ASSIGN !17, $204
140 312* TYPE_CHECK 1018 !17
313* JMPZ ~206, ->345
141 314* INIT_FCALL 'explode'
315* SEND_VAL '%3A'
316* SEND_VAR !15
317* DO_ICALL $207
318* ASSIGN !18, $207
142 319* INIT_FCALL 'str_replace'
320* SEND_VAR !4
321* SEND_VAL '+'
322* INIT_FCALL 'trim'
323* INIT_FCALL 'strip_tags'
324* FETCH_DIM_R ~209 !18, 1
325* SEND_VAL ~209
326* DO_ICALL $210
327* SEND_VAR $210
328* DO_ICALL $211
329* SEND_VAR $211
330* DO_ICALL $212
331* ASSIGN !19, $212
145 332* INIT_FCALL 'strip_tags'
333* INIT_FCALL 'stripslashes'
334* INIT_FCALL 'trim'
335* SEND_VAR !19
336* DO_ICALL $217
337* SEND_VAR $217
338* DO_ICALL $218
339* SEND_VAR $218
340* DO_ICALL $219
341* FETCH_DIM_W $214 !11, !7
342* FETCH_DIM_W $215 $214, 'type'
343* ASSIGN_DIM $215, !7
344* OP_DATA $219
150 345* INIT_FCALL 'strpos'
346* SEND_VAR !15
347* SEND_VAL 'Registration'
348* DO_ICALL $220
349* ASSIGN !17, $220
151 350* TYPE_CHECK 1018 !17
351* JMPZ ~222, ->383
152 352* INIT_FCALL 'explode'
353* SEND_VAL '%3A'
354* SEND_VAR !15
355* DO_ICALL $223
356* ASSIGN !18, $223
153 357* INIT_FCALL 'str_replace'
358* SEND_VAR !4
359* SEND_VAL '+'
360* INIT_FCALL 'trim'
361* INIT_FCALL 'strip_tags'
362* FETCH_DIM_R ~225 !18, 1
363* SEND_VAL ~225
364* DO_ICALL $226
365* SEND_VAR $226
366* DO_ICALL $227
367* SEND_VAR $227
368* DO_ICALL $228
369* ASSIGN !19, $228
156 370* INIT_FCALL 'strip_tags'
371* INIT_FCALL 'stripslashes'
372* INIT_FCALL 'trim'
373* SEND_VAR !19
374* DO_ICALL $233
375* SEND_VAR $233
376* DO_ICALL $234
377* SEND_VAR $234
378* DO_ICALL $235
379* FETCH_DIM_W
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
212.38 ms | 1428 KiB | 39 Q