Jump to content

ballhogjoni

Members
  • Posts

    1,026
  • Joined

  • Last visited

Everything posted by ballhogjoni

  1. So i've always struggled with coding reports that have a lot of logic and calculations because the become very procedural and they become hard to debug and hard to add new features/calculations. What do you guys do when coding reports to make them easy to maintain and add new features?
  2. Hey @requinix, thanks for the reply. According to the docs you have property and function overloading...see docs. For me I don't see the need to do something like this property overloading: class A { $x = 123; } $var = new A(); $var->abc = 456;
  3. Hey guys, not sure if this is the correct place for this topic, but I was wondering why you would use overloading? I just haven't ever come across a need for it and if I have I haven't recognized it.
  4. Using PHP 5.3.3 The error points out this line of code: return [$a[$s], "string"]; $a = array(); $s = "test"; if (array_key_exists($s, $a)) return [$a[$s], "string"]; What's wrong with this code?
  5. I just installed mysql 5.1.73 on centos 6.7 and I get this error literally every time I hit enter. I've tried max_allowed_packet=500M and wait_timeout=28000 and restarting the server with neither helping. mysql> show databases; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 1 Current database: *** NONE ***
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.