PHP Classes
elePHPant
Icontem

File: phpcf-src/test/expected/broken-switch.php

Recommend this page to a friend!
  Classes of Alex Krash  >  PHP Code formatter  >  phpcf-src/test/expected/broken-switch.php  >  Download  
File: phpcf-src/test/expected/broken-switch.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Code formatter
Reformat PHP code according to standard options
Author: By
Last change:
Date: 4 years ago
Size: 327 bytes
 

Contents

Class file image Download
<?php
$import_part
= Vars::get('form', '');
switch (
$import_part) {
    case
'social':
       
includeOnce(PHPWEB_PATH_PACKAGES . 'Providers/ProviderFilter.php');
        if (!
ProviderFilter::isSocialProvider($this->provider_id)) $this->error = SHARE_ERROR_PROVIDER_INVALID;
        break;

    default:
}
echo
'Hello world!';