PHP Classes

File: examples/example4.php

Recommend this page to a friend!
  Classes of naholyr   First Order Logic Prop   examples/example4.php   Download  
File: examples/example4.php
Role: Example script
Content type: text/plain
Description: Show cloning feature, and how to set values to variables in a proposition
Class: First Order Logic Prop
Manipulate, analyze, and prove logic propositions
Author: By
Last change:
Date: 20 years ago
Size: 280 bytes


Class file image Download

require '../';

$p = new FirstOrderLogicProp('(a <!> b) & (b -> a)');
$q = &$p->clone();
$p->setValues(array('a'=>'1', 'b'=>'0'));