The full PHP source code for most of the programs on this site is available as ZIP archives. The programs were written over several years and versions of PHP from v5.x to current version 7.4.9 and updated for compatibility.
PHP Science Labs Source Code Library - Opens In a New Tab
Unless otherwise indicated, all programs source code and related graphics are released to the public domain.