<?php function notEquals($expected, $value, string $message = '') { if ($expected != $value) { throw new \Exception('Assertion! ' . ($message ? $message : ($value . ' did not equal ' . $expected))); } } $x = 123; assert(notEquals(1, $x));
You have javascript disabled. You will not be able to edit any code.