[TASK] Wrote classes and implemented about 50% of the whole idea.
This commit is contained in:
+4
-1
@@ -1,6 +1,9 @@
|
||||
<?php
|
||||
require "val2rgb.php";
|
||||
|
||||
$file = $argv[1];
|
||||
if(file_exists($file) === FALSE) die("Nein\n");
|
||||
if(file_exists($file) === FALSE) die("Error: file does not exist!\n");
|
||||
|
||||
$data = file_get_contents($file);
|
||||
$size = strlen($data);
|
||||
$foobar = array();
|
||||
|
||||
Reference in New Issue
Block a user