More Themes Baby

Logo

More Themes Baby

Hamburger Menu Icon

☰
×

Header menu

  • Home
  • Themes
  • Questions
  • Blog
  • Contact

Single post

PHP: a fractal of bad design

Post content

https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

Post footer

Link
Misc
PHP

Post date

March 5, 2018

Post author

by admin

2 updates

Comment date

April 3, 2018, 7:35 am

Comment content

There are also good news: lots of modern PHP libraries of very high quality

Comment permalink

∞

Comment date

April 2, 2018, 8:04 am

Comment content

Today I’ve spent at least two hours to figure out a bug / a fractal of bad design in the following code:


$dates = [];

$date = $date1;
while ($date format('Y-m-d');
 $date = $date->modify( '+' . $number_of_days_per_sparkline . ' days' );
}

return $dates;

It prints different dates, but the $dates[] array will contain the same dates.

Comment permalink

∞

Post navigation

  • The Experimental Layout Lab Of Jen Simmons
  • Some New Icons Designed For More Themes Baby …

Sidebar

Widget list

Topics Summary

This site is about things that can help web design and development and the internet

Topics

Emerging

{17,66,83,17,33,66,66,99,0,50}

Tools

{28,28,28,0,57,28,0,14,14,99}

Misc

{0,28,42,0,28,99,28,28,0,71}

Indie web

{0,33,66,33,0,66,99,33,33,33}

2017

{0,99,17,0,0,0,0,0,0,0}

Post Formats

Standard

29

Aside

3

Chat

1

Gallery

5

Link

64

Image

29

Quote

27

Status

12

Video

5

Audio

0

Archives by date

2018
08
05
04
03
02
01
2017
12

Footer

Footer navigation

  • Home
  • Themes
  • Questions
  • Blog
  • Contact

Footer copyright

© 2020 More Themes Baby

Footer credits

powered by WordPress
and the Log Lolla Pro theme