Emulate   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 11
rs 10
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A split() 0 3 1
1
<?php
2
3
namespace DBSeller\Legacy\PHP56;
4
5
class Emulate {
6
7
  /**
8
   * Split string into array by regular expression
9
   *
10
   * @return array
11
   */
12
  public static function split($pattern, $string) {
13
    return explode($pattern, $string);
14
  }
15
}
16