Package to detect server operating system and its data-path width processor.
1.0.0
2014-11-05 01:31 UTC
Requires
- php: >=5.0.2
This package is not auto-updated.
Last update: 2024-11-05 03:29:00 UTC
README
Package to detect server operating system and its data-path width processor.
<?php use BrownPaperBag\OS; if(OS::isWindows()){ // Do something for Windows... } else{ // Doing something for Linux or Mac if(OS::is32bit()){ // Do something for 32bit processor... } else{ // Do something for 64bit processor... } }
License
MIT