PHP Classes

File: tests/bootstrap.php

Recommend this page to a friend!
  Classes of Alexander Kiryukhin  >  PHP Math Expression Evaluator  >  tests/bootstrap.php  >  Download  
File: tests/bootstrap.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Math Expression Evaluator
Parse and evaluate strings with math expressions
Author: By
Last change: Phpcs fixer (#103)

* Configuring PHP CS Fixer

Dropping PHP 7,3 support

* Fixing merge issue
Date: 5 months ago
Size: 284 bytes
 

Contents

Class file image Download
<?php

$vendorDir
= __DIR__ . '/../../..';

if (\
file_exists($file = $vendorDir . '/autoload.php')) {
    require_once
$file;
} elseif (\
file_exists($file = './vendor/autoload.php')) {
    require_once
$file;
} else {
    throw new \
RuntimeException('Not found composer autoload');
}

For more information send a message to info at phpclasses dot org.