3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $scandir = scandir('c:/keycounter'); $stats = array(); foreach($scandir as $filename){ if(substr($filename, -4) !== '.day') continue; $date = substr($filename, 0, -4); $stats[$date]= array('k' => 0, 'm' => 0); $content = file_get_contents('c:/keycounter/'.$filename); $lines = explode("\n", $content); foreach($lines as $line){ if($line === '') { continue; } $exp2 = explode(",", $line); $stats[$date]['k']+=intval($exp2[0]); $stats[$date]['m']+=intval($exp2[1]); } } $kplot = array(); $mplot = array(); foreach($stats as $date => $stat){ $kplot[$date] = $stat['k']; $mplot[$date] = $stat['m']; } function time_flot($data){ ksort($data); $rand = md5(rand(100000,10000000)); $dt = ''; foreach ($data as $key => $val) { $dt.='[' . date('U', strtotime($key)) * 1000 .','. $val . '],'; } ob_start(); ?> <div id="flot-<?php echo $rand ?>" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = [<?php echo $dt ?>]; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-<?php echo $rand ?>-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-<?php echo $rand ?>", [d], options); $("#flot-<?php echo $rand ?>").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-<?php echo $rand ?>-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-<?php echo $rand ?>-tooltip").hide(); } }); // now connect the two }); </script> <?php $str = ob_get_contents(); ob_end_clean(); return $str; } ?> <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> <?php echo 'avg_k: ' . intval(array_sum($kplot) / count($kplot)) . '<br/>'; ?> <div class="plot" style="width: 1500px; height: 400px;"> <?php echo time_flot($kplot);?> </div> <br/> <?php echo 'avg_m: ' . intval(array_sum($mplot) / count($mplot)) . '<br/>'; ?> <div class="plot" style="width: 1500px; height: 400px;"> <?php echo time_flot($mplot);?> </div>
Output for 7.1.0
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2 Warning: Invalid argument supplied for foreach() in /in/nvWnR on line 5 <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> Warning: Division by zero in /in/nvWnR on line 119 avg_k: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-4dd5099163482badf5135255eb5e025a" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-4dd5099163482badf5135255eb5e025a-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-4dd5099163482badf5135255eb5e025a", [d], options); $("#flot-4dd5099163482badf5135255eb5e025a").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-4dd5099163482badf5135255eb5e025a-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-4dd5099163482badf5135255eb5e025a-tooltip").hide(); } }); // now connect the two }); </script> </div> <br/> Warning: Division by zero in /in/nvWnR on line 124 avg_m: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-d668d7f9b6042dc4bdfd029f83548524" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-d668d7f9b6042dc4bdfd029f83548524-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-d668d7f9b6042dc4bdfd029f83548524", [d], options); $("#flot-d668d7f9b6042dc4bdfd029f83548524").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-d668d7f9b6042dc4bdfd029f83548524-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-d668d7f9b6042dc4bdfd029f83548524-tooltip").hide(); } }); // now connect the two }); </script> </div>
Output for 7.0.14
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2 Warning: Invalid argument supplied for foreach() in /in/nvWnR on line 5 <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> Warning: Division by zero in /in/nvWnR on line 119 avg_k: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-68da23ac2f993fa649e19edde01f6b24" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-68da23ac2f993fa649e19edde01f6b24-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-68da23ac2f993fa649e19edde01f6b24", [d], options); $("#flot-68da23ac2f993fa649e19edde01f6b24").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-68da23ac2f993fa649e19edde01f6b24-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-68da23ac2f993fa649e19edde01f6b24-tooltip").hide(); } }); // now connect the two }); </script> </div> <br/> Warning: Division by zero in /in/nvWnR on line 124 avg_m: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-9f06ead746fa8e4563327562dac28573" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-9f06ead746fa8e4563327562dac28573-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-9f06ead746fa8e4563327562dac28573", [d], options); $("#flot-9f06ead746fa8e4563327562dac28573").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-9f06ead746fa8e4563327562dac28573-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-9f06ead746fa8e4563327562dac28573-tooltip").hide(); } }); // now connect the two }); </script> </div>
Output for 5.6.28
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2 Warning: Invalid argument supplied for foreach() in /in/nvWnR on line 5 <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> Warning: Division by zero in /in/nvWnR on line 119 avg_k: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-019dd21893738c13c9cb7a95bb9c26ef" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-019dd21893738c13c9cb7a95bb9c26ef-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-019dd21893738c13c9cb7a95bb9c26ef", [d], options); $("#flot-019dd21893738c13c9cb7a95bb9c26ef").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-019dd21893738c13c9cb7a95bb9c26ef-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-019dd21893738c13c9cb7a95bb9c26ef-tooltip").hide(); } }); // now connect the two }); </script> </div> <br/> Warning: Division by zero in /in/nvWnR on line 124 avg_m: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-770be3f109c6001e7926a38b0837dfa8" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-770be3f109c6001e7926a38b0837dfa8-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-770be3f109c6001e7926a38b0837dfa8", [d], options); $("#flot-770be3f109c6001e7926a38b0837dfa8").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-770be3f109c6001e7926a38b0837dfa8-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-770be3f109c6001e7926a38b0837dfa8-tooltip").hide(); } }); // now connect the two }); </script> </div>
Output for 5.4.28
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2 Warning: Invalid argument supplied for foreach() in /in/nvWnR on line 5 <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> Warning: Division by zero in /in/nvWnR on line 119 avg_k: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-228a01fc75ff96a9e4d7df48a639e9b5" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-228a01fc75ff96a9e4d7df48a639e9b5-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-228a01fc75ff96a9e4d7df48a639e9b5", [d], options); $("#flot-228a01fc75ff96a9e4d7df48a639e9b5").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-228a01fc75ff96a9e4d7df48a639e9b5-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-228a01fc75ff96a9e4d7df48a639e9b5-tooltip").hide(); } }); // now connect the two }); </script> </div> <br/> Warning: Division by zero in /in/nvWnR on line 124 avg_m: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-65e86150480e97cac07c58fa24e062f9" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-65e86150480e97cac07c58fa24e062f9-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-65e86150480e97cac07c58fa24e062f9", [d], options); $("#flot-65e86150480e97cac07c58fa24e062f9").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-65e86150480e97cac07c58fa24e062f9-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-65e86150480e97cac07c58fa24e062f9-tooltip").hide(); } }); // now connect the two }); </script> </div>
Output for 5.3.0 - 5.3.6, 5.3.8 - 5.3.15, 5.3.17 - 5.3.25, 5.3.27 - 5.4.5, 5.4.7, 5.4.9 - 5.4.20
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2
Process exited with code 137.
Output for 5.4.8
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2
Process exited with code 137.
Output for 5.4.6
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2 Warning: Invalid argument supplied for foreach() in /in/nvWnR on line 5 <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> Warning: Division by zero in /in/nvWnR on line 119 avg_k: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-0df5a64fe92e32dcfb2a1b69abef6b47" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-0df5a64fe92e32dcfb2a1b69abef6b47-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-0df5a64fe92e32dcfb2a1b69abef6b47", [d], options); $("#flot-0df5a64fe92e32dcfb2a1b69abef6b47").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-0df5a64fe92e32dcfb2a1b69abef6b47-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-0df5a64fe92e32dcfb2a1b69abef6b47-tooltip").hide(); } }); // now connect the two }); </script> </div> <br/> Warning: Division by zero in /in/nvWnR on line 124 avg_m: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-99e6013a35cc27dc65d1fb6ac86e8ec9" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-99e6013a35cc27dc65d1fb6ac86e8ec9-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-99e6013a35cc27dc65d1fb6ac86e8ec9", [d], options); $("#flot-99e6013a35cc27dc65d1fb6ac86e8ec9").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-99e6013a35cc27dc65d1fb6ac86e8ec9-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-99e6013a35cc27dc65d1fb6ac86e8ec9-tooltip").hide(); } }); // now connect the two }); </script> </div>
Output for 5.3.26
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2 Warning: Invalid argument supplied for foreach() in /in/nvWnR on line 5 <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> Warning: Division by zero in /in/nvWnR on line 119 avg_k: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-06fd513089f79323d1cc4521d568d81e" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-06fd513089f79323d1cc4521d568d81e-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-06fd513089f79323d1cc4521d568d81e", [d], options); $("#flot-06fd513089f79323d1cc4521d568d81e").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-06fd513089f79323d1cc4521d568d81e-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-06fd513089f79323d1cc4521d568d81e-tooltip").hide(); } }); // now connect the two }); </script> </div> <br/> Warning: Division by zero in /in/nvWnR on line 124 avg_m: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-b577753a73e80a76b309ca5aa40ba3e7" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-b577753a73e80a76b309ca5aa40ba3e7-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-b577753a73e80a76b309ca5aa40ba3e7", [d], options); $("#flot-b577753a73e80a76b309ca5aa40ba3e7").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-b577753a73e80a76b309ca5aa40ba3e7-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-b577753a73e80a76b309ca5aa40ba3e7-tooltip").hide(); } }); // now connect the two }); </script> </div>
Output for 5.3.16
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2 Warning: Invalid argument supplied for foreach() in /in/nvWnR on line 5 <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> Warning: Division by zero in /in/nvWnR on line 119 avg_k: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-597ca5b568e7106ef4a0cb9988b6aed8" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-597ca5b568e7106ef4a0cb9988b6aed8-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-597ca5b568e7106ef4a0cb9988b6aed8", [d], options); $("#flot-597ca5b568e7106ef4a0cb9988b6aed8").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-597ca5b568e7106ef4a0cb9988b6aed8-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-597ca5b568e7106ef4a0cb9988b6aed8-tooltip").hide(); } }); // now connect the two }); </script> </div> <br/> Warning: Division by zero in /in/nvWnR on line 124 avg_m: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-a8ea3595282a0b46c63dfa82ad6b2a62" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-a8ea3595282a0b46c63dfa82ad6b2a62-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-a8ea3595282a0b46c63dfa82ad6b2a62", [d], options); $("#flot-a8ea3595282a0b46c63dfa82ad6b2a62").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-a8ea3595282a0b46c63dfa82ad6b2a62-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-a8ea3595282a0b46c63dfa82ad6b2a62-tooltip").hide(); } }); // now connect the two }); </script> </div>
Output for 5.3.7
Warning: scandir(c:/keycounter): failed to open dir: No such file or directory in /in/nvWnR on line 2 Warning: scandir(): (errno 2): No such file or directory in /in/nvWnR on line 2 Warning: Invalid argument supplied for foreach() in /in/nvWnR on line 5 <script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.js"></script> <script language="javascript" type="text/javascript" src="jquery.flot.time.js"></script> <style> .flot{ background: white; border-radius: 10px; border: 1px solid orange; padding: 10px; margin-bottom: 10px; } </style> Warning: Division by zero in /in/nvWnR on line 119 avg_k: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-713b8dbb88ac972430db0a0144e45066" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-713b8dbb88ac972430db0a0144e45066-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-713b8dbb88ac972430db0a0144e45066", [d], options); $("#flot-713b8dbb88ac972430db0a0144e45066").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-713b8dbb88ac972430db0a0144e45066-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-713b8dbb88ac972430db0a0144e45066-tooltip").hide(); } }); // now connect the two }); </script> </div> <br/> Warning: Division by zero in /in/nvWnR on line 124 avg_m: 0<br/><div class="plot" style="width: 1500px; height: 400px;"> <div id="flot-d83e99f60e38aa8bbe4125d22b395ccd" style="height:100%; width: 100%; min-height: 200px; min-width: 300px;"></div> <script type="text/javascript"> $(function() { var d = []; // helper for returning the weekends in a period function weekendAreas(axes) { var markings = [], d = new Date(axes.xaxis.min); // go to the first Saturday d.setUTCDate(d.getUTCDate() - ((d.getUTCDay() + 1) % 7)); d.setUTCSeconds(0); d.setUTCMinutes(0); d.setUTCHours(0); var i = d.getTime(); // when we dont set yaxis, the rectangle automatically // extends to infinity upwards and downwards do { markings.push({ xaxis: { from: i, to: i + 24 * 60 * 60 * 1000 } }); i += 7 * 24 * 60 * 60 * 1000; } while (i < axes.xaxis.max); return markings; } var options = { xaxis: { mode: "time", tickLength: 5, timeformat: "%d %b", monthNames: ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des"] }, selection: { mode: "x" }, grid: { markings: weekendAreas, hoverable: true, }, }; $("<div id='flot-d83e99f60e38aa8bbe4125d22b395ccd-tooltip'></div>").css({ position: "absolute", display: "none", border: "1px solid #ddd", padding: "2px", "background-color": "#eee", opacity: 0.80 }).appendTo("body"); var plot = $.plot("#flot-d83e99f60e38aa8bbe4125d22b395ccd", [d], options); $("#flot-d83e99f60e38aa8bbe4125d22b395ccd").bind("plothover", function (event, pos, item) { if (item) { var x = item.datapoint[0].toFixed(), y = item.datapoint[1].toFixed(); var date = new Date(x * 1); $("#flot-d83e99f60e38aa8bbe4125d22b395ccd-tooltip").html(date.getFullYear()+ "/" + (date.getMonth() + 1) + "/" + date.getDate() + " ("+ y + ")") .css({top: item.pageY+0, left: item.pageX+25}) .fadeIn(200); } else { $("#flot-d83e99f60e38aa8bbe4125d22b395ccd-tooltip").hide(); } }); // now connect the two }); </script> </div>