2008
08.27

Here a little but very funny video of some of my friends. Its a crazy bunch of freaks… have fun!

Links

So long,
Andreas Glaser (aka JaZz)

2008
08.19

I was wondering whether there is a performance difference between count() and sizeof().

Test code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?PHP
 
  // CREATE TEST ARRAY
  $a = array('a','b','c','d','e','f','g','h','i','j');
 
  // START TIMER ONE
  $TimerOne = benchmarkTimerStart();
 
  // CALL COUNT FUNCTION 1000000 TIMES
  for($i=0;$i<1000000;$i++)
  {
    count($a);
  }
 
  // STOP TIMER ONE
  $ResultOne = benchmarkTimerStop($TimerOne);
 
  // START TIMER TWO
  $TimerTwo = benchmarkTimerStart();
 
  // CALL SIZEOF FUNCTION 1000000 TIMES
  for($i=0;$i<1000000;$i++)
  {
    sizeOf($a);
  }
 
  // STOP TIMER TWO
  $ResultTwo = benchmarkTimerStop($TimerTwo);
 
  // PRINT RESULTS
  echo 'Count: '.$ResultOne.' Seconds<br />';
  echo 'SizeOf: '.$ResultTwo.' Seconds';
 
  // TIMER FUNCTIONS
  function benchmarkTimerStart()
  {
    $timeExplode = explode(" ", microtime());
    $time = $timeExplode[1] + $timeExplode[0];
    return $time;
  }
 
  function benchmarkTimerStop($timer=0)
  {
    $timeExplode = explode(" ", microtime());
    $time = $timeExplode[1] + $timeExplode[0];
    $finish = $time - $timer;
    $endTime = sprintf("%4.3f", $finish);
    return $endTime;
  }
?>

My test proved that there is no difference at all! sizeof() is just an alias for count().
So I suggest you to use count() – its the original name of this function.

So long,
Andreas Glaser (aka JaZz)

2008
08.18

Hey there,

just a small update…! On my daily ride through the Internet I found this great website, where you can test and get information about XHTML/CSS tags.

htmlplayground

Enjoy it!

Links

So long,
Andreas Glaser (aka JaZz)

2008
08.13


As many of you requested – here some pictures of Dublin.

The pictures are taken by Charlotte from France.

So long,
Andreas Glaser (aka JaZz)

2008
08.12

In the last days I was searching for a new long term apartment close to the nimble HQ and I have to admit I was a little lucky. The new apartment is just 800 meters away from nimble.
My new four flat mates are motley from all over the world… France, Brazil, India, Spain and now me from Germany. As far as I can say, are they very nice and easy going guys.

The flat itself is not too bad… of course for German relations is it bloody expensive (I love these phrases) but for Irish not unusual.

Now as promised – some pictures of Ireland which are taken by Duncan from New Zealand.

So long,
Andreas Glaser (aka JaZz)