title: error_log message is truncated when using print_r
body: <p>I'm not experienced in PHP and I'm, using:</p>
  
  <pre><code>error_log("big array:" . print_r($bigArray, true));
  </code></pre>
  
  <p>to look at what's inside a big array but it looks like the output is cut off before I get to the interesting stuff in the output like so:</p>
  
  <pre><code>...
             [4] =&gt; Array
              (
                  [id] =&gt; 100039235
                  [start] =&gt; 11:00
                  [end] =&gt; 19:00
                  [punches] =&gt; Array
                      (
                          [0] =&gt; Array
                              (
                                  [id] =&gt; 6319
                                  [comment] =&gt; 
  </code></pre>
  
  <p>Is this expected? Are there other ways or workarounds to get more of the array logged out?</p>