3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo var_dump(sys_getloadavg());
Output for 7.1.0
array(3) { [0]=> float(2.66) [1]=> float(2.75) [2]=> float(2.16) }
Output for 7.0.14
array(3) { [0]=> float(2.18) [1]=> float(2.25) [2]=> float(1.65) }
Output for 7.0.12
array(3) { [0]=> float(2.87) [1]=> float(2.7) [2]=> float(2.59) }
Output for 7.0.6
array(3) { [0]=> float(3.93) [1]=> float(3.71) [2]=> float(3.53) }
Output for 7.0.5
array(3) { [0]=> float(4.15) [1]=> float(4.21) [2]=> float(4.2) }
Output for 7.0.4
array(3) { [0]=> float(4.87) [1]=> float(4.28) [2]=> float(4.12) }
Output for 7.0.3
array(3) { [0]=> float(4.01) [1]=> float(4) [2]=> float(4.01) }
Output for 7.0.2
array(3) { [0]=> float(4.29) [1]=> float(4.27) [2]=> float(4.34) }
Output for 7.0.1
array(3) { [0]=> float(4.08) [1]=> float(4.04) [2]=> float(4.1) }
Output for 7.0.0
array(3) { [0]=> float(5.88) [1]=> float(5.35) [2]=> float(4.66) }
Output for 5.6.28
array(3) { [0]=> float(2.51) [1]=> float(2.33) [2]=> float(2.35) }
Output for 5.6.21
array(3) { [0]=> float(3.94) [1]=> float(3.88) [2]=> float(3.88) }
Output for 5.6.20
array(3) { [0]=> float(3.89) [1]=> float(3.89) [2]=> float(4) }
Output for 5.6.19
array(3) { [0]=> float(3.76) [1]=> float(3.88) [2]=> float(3.68) }
Output for 5.6.18
array(3) { [0]=> float(3.84) [1]=> float(4.02) [2]=> float(4.12) }
Output for 5.6.17
array(3) { [0]=> float(4.13) [1]=> float(3.76) [2]=> float(3.68) }
Output for 5.6.16
array(3) { [0]=> float(3.98) [1]=> float(3.98) [2]=> float(4.09) }
Output for 5.6.15
array(3) { [0]=> float(4.14) [1]=> float(4.12) [2]=> float(4.14) }
Output for 5.6.14
array(3) { [0]=> float(3.99) [1]=> float(3.96) [2]=> float(4.03) }
Output for 5.6.13
array(3) { [0]=> float(4.04) [1]=> float(4.51) [2]=> float(4.48) }
Output for 5.6.12
array(3) { [0]=> float(4.06) [1]=> float(4.26) [2]=> float(4.32) }
Output for 5.6.11
array(3) { [0]=> float(3.79) [1]=> float(4.2) [2]=> float(4.02) }
Output for 5.6.10
array(3) { [0]=> float(4.16) [1]=> float(4.18) [2]=> float(4.13) }
Output for 5.6.9
array(3) { [0]=> float(3.37) [1]=> float(3.87) [2]=> float(4.02) }
Output for 5.6.8
array(3) { [0]=> float(3.59) [1]=> float(3.38) [2]=> float(3.53) }
Output for 5.5.35
array(3) { [0]=> float(3.71) [1]=> float(4.11) [2]=> float(4.23) }
Output for 5.5.34
array(3) { [0]=> float(4.21) [1]=> float(4.19) [2]=> float(4.22) }
Output for 5.5.33
array(3) { [0]=> float(3.95) [1]=> float(4.36) [2]=> float(4.46) }
Output for 5.5.32
array(3) { [0]=> float(3.78) [1]=> float(3.95) [2]=> float(4) }
Output for 5.5.31
array(3) { [0]=> float(3.58) [1]=> float(3.53) [2]=> float(3.52) }
Output for 5.5.30
array(3) { [0]=> float(5.79) [1]=> float(4.55) [2]=> float(4.33) }
Output for 5.5.29
array(3) { [0]=> float(3.61) [1]=> float(3.58) [2]=> float(3.76) }
Output for 5.5.28
array(3) { [0]=> float(3.64) [1]=> float(3.62) [2]=> float(3.59) }
Output for 5.5.27
array(3) { [0]=> float(3.36) [1]=> float(3.14) [2]=> float(3.21) }
Output for 5.5.26
array(3) { [0]=> float(3.45) [1]=> float(3.6) [2]=> float(3.73) }
Output for 5.5.25
array(3) { [0]=> float(3.49) [1]=> float(3.66) [2]=> float(3.74) }
Output for 5.5.24
array(3) { [0]=> float(3.12) [1]=> float(3.45) [2]=> float(3.58) }
Output for 5.4.11 - 5.4.45
array(3) { [0]=> float(3.35) [1]=> float(3.44) [2]=> float(3.53) }
Output for 5.2.16 - 5.4.10
array(3) { [0]=> float(3.4) [1]=> float(3.45) [2]=> float(3.53) }
Output for 5.1.3 - 5.2.15
array(3) { [0]=> float(3.45) [1]=> float(3.46) [2]=> float(3.54) }
Output for 5.0.0 - 5.1.2
Fatal error: Call to undefined function sys_getloadavg() in /in/JrC0J on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: sys_getloadavg() in /in/JrC0J on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: sys_getloadavg() in /in/JrC0J on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: sys_getloadavg() in /in/JrC0J on line 2