eckjdyst jgthfjhs - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of eckjdyst jgthfjhs .php

  1. <?php
  2. function strict_disjunction($a, $b, $c) {
  3.   if ($a == 0 && $b == 0 && $c == 0) {
  4.     return 0;
  5.   } else if ($a == 0 && $b == 0 && $c == 1) {
  6.     return 1;
  7.   } else if ($a == 0 && $b == 1 && $c == 0) {
  8.     return 1;
  9.   } else if ($a == 0 && $b == 1 && $c == 1) {
  10.     return 0;
  11.   } else if ($a == 1 && $b == 0 && $c == 0) {
  12.     return 1;
  13.   } else if ($a == 1 && $b == 0 && $c == 1) {
  14.     return 0;
  15.   } else if ($a == 1 && $b == 1 && $c == 0) {
  16.     return 0;
  17.   } else if ($a == 1 && $b == 1 && $c == 1) {
  18.     return 1;
  19.   }
  20. }
  21. ?>
  22.  
File Description
  • eckjdyst jgthfjhs
  • PHP Code
  • 07 Jun-2023
  • 530 Bytes
You can Share it: