3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump([phpversion('pcre'), phpversion('spl')]);
based on C3CbM
Output for 7.3.1
array(2) { [0]=> string(5) "7.3.1" [1]=> string(5) "7.3.1" }
Output for 7.3.0
array(2) { [0]=> string(5) "7.3.0" [1]=> string(5) "7.3.0" }
Output for 7.2.13
array(2) { [0]=> string(6) "7.2.13" [1]=> string(6) "7.2.13" }
Output for 7.2.12
array(2) { [0]=> string(6) "7.2.12" [1]=> string(6) "7.2.12" }
Output for 7.2.11
array(2) { [0]=> string(6) "7.2.11" [1]=> string(6) "7.2.11" }
Output for 7.2.10
array(2) { [0]=> string(6) "7.2.10" [1]=> string(6) "7.2.10" }
Output for 7.2.9
array(2) { [0]=> string(5) "7.2.9" [1]=> string(5) "7.2.9" }
Output for 7.2.8
array(2) { [0]=> string(5) "7.2.8" [1]=> string(5) "7.2.8" }
Output for 7.2.7
array(2) { [0]=> string(5) "7.2.7" [1]=> string(5) "7.2.7" }
Output for 7.2.6
array(2) { [0]=> string(5) "7.2.6" [1]=> string(5) "7.2.6" }
Output for 7.2.5
array(2) { [0]=> string(5) "7.2.5" [1]=> string(5) "7.2.5" }
Output for 7.2.4
array(2) { [0]=> string(5) "7.2.4" [1]=> string(5) "7.2.4" }
Output for 7.2.3
array(2) { [0]=> string(5) "7.2.3" [1]=> string(5) "7.2.3" }
Output for 7.2.2
array(2) { [0]=> string(5) "7.2.2" [1]=> string(5) "7.2.2" }
Output for 7.2.1
array(2) { [0]=> string(5) "7.2.1" [1]=> string(5) "7.2.1" }
Output for 7.2.0
array(2) { [0]=> string(5) "7.2.0" [1]=> string(5) "7.2.0" }
Output for 7.1.25
array(2) { [0]=> string(6) "7.1.25" [1]=> string(6) "7.1.25" }
Output for 7.1.24
array(2) { [0]=> string(6) "7.1.24" [1]=> string(6) "7.1.24" }
Output for 7.1.23
array(2) { [0]=> string(6) "7.1.23" [1]=> string(6) "7.1.23" }
Output for 7.1.22
array(2) { [0]=> string(6) "7.1.22" [1]=> string(6) "7.1.22" }
Output for 7.1.21
array(2) { [0]=> string(6) "7.1.21" [1]=> string(6) "7.1.21" }
Output for 7.1.20
array(2) { [0]=> string(6) "7.1.20" [1]=> string(6) "7.1.20" }
Output for 7.1.19
array(2) { [0]=> string(6) "7.1.19" [1]=> string(6) "7.1.19" }
Output for 7.1.18
array(2) { [0]=> string(6) "7.1.18" [1]=> string(6) "7.1.18" }
Output for 7.1.17
array(2) { [0]=> string(6) "7.1.17" [1]=> string(6) "7.1.17" }
Output for 7.1.16
array(2) { [0]=> string(6) "7.1.16" [1]=> string(6) "7.1.16" }
Output for 7.1.15
array(2) { [0]=> string(6) "7.1.15" [1]=> string(6) "7.1.15" }
Output for 7.1.14
array(2) { [0]=> string(6) "7.1.14" [1]=> string(6) "7.1.14" }
Output for 7.1.13
array(2) { [0]=> string(6) "7.1.13" [1]=> string(6) "7.1.13" }
Output for 7.1.12
array(2) { [0]=> string(6) "7.1.12" [1]=> string(6) "7.1.12" }
Output for 7.1.11
array(2) { [0]=> string(6) "7.1.11" [1]=> string(6) "7.1.11" }
Output for 7.1.10
array(2) { [0]=> string(6) "7.1.10" [1]=> string(6) "7.1.10" }
Output for 7.1.9
array(2) { [0]=> string(5) "7.1.9" [1]=> string(5) "7.1.9" }
Output for 7.1.8
array(2) { [0]=> string(5) "7.1.8" [1]=> string(5) "7.1.8" }
Output for 7.1.7
array(2) { [0]=> string(5) "7.1.7" [1]=> string(5) "7.1.7" }
Output for 7.1.6
array(2) { [0]=> string(5) "7.1.6" [1]=> string(5) "7.1.6" }
Output for 7.1.5
array(2) { [0]=> string(5) "7.1.5" [1]=> string(5) "7.1.5" }
Output for 7.1.4
array(2) { [0]=> string(5) "7.1.4" [1]=> string(5) "7.1.4" }
Output for 7.1.3
array(2) { [0]=> string(5) "7.1.3" [1]=> string(5) "7.1.3" }
Output for 7.1.2
array(2) { [0]=> string(5) "7.1.2" [1]=> string(5) "7.1.2" }
Output for 7.1.1
array(2) { [0]=> string(5) "7.1.1" [1]=> string(5) "7.1.1" }
Output for 7.1.0
array(2) { [0]=> string(5) "7.1.0" [1]=> string(5) "7.1.0" }
Output for 7.0.33
array(2) { [0]=> string(6) "7.0.33" [1]=> string(6) "7.0.33" }
Output for 7.0.32
array(2) { [0]=> string(6) "7.0.32" [1]=> string(6) "7.0.32" }
Output for 7.0.31
array(2) { [0]=> string(6) "7.0.31" [1]=> string(6) "7.0.31" }
Output for 7.0.30
array(2) { [0]=> string(6) "7.0.30" [1]=> string(6) "7.0.30" }
Output for 7.0.29
array(2) { [0]=> string(6) "7.0.29" [1]=> string(6) "7.0.29" }
Output for 7.0.28
array(2) { [0]=> string(6) "7.0.28" [1]=> string(6) "7.0.28" }
Output for 7.0.27
array(2) { [0]=> string(6) "7.0.27" [1]=> string(6) "7.0.27" }
Output for 7.0.26
array(2) { [0]=> string(6) "7.0.26" [1]=> string(6) "7.0.26" }
Output for 7.0.25
array(2) { [0]=> string(6) "7.0.25" [1]=> string(6) "7.0.25" }
Output for 7.0.24
array(2) { [0]=> string(6) "7.0.24" [1]=> string(6) "7.0.24" }
Output for 7.0.23
array(2) { [0]=> string(6) "7.0.23" [1]=> string(6) "7.0.23" }
Output for 7.0.22
array(2) { [0]=> string(6) "7.0.22" [1]=> string(6) "7.0.22" }
Output for 7.0.21
array(2) { [0]=> string(6) "7.0.21" [1]=> string(6) "7.0.21" }
Output for 7.0.20
array(2) { [0]=> string(6) "7.0.20" [1]=> string(6) "7.0.20" }
Output for 7.0.19
array(2) { [0]=> string(6) "7.0.19" [1]=> string(6) "7.0.19" }
Output for 7.0.18
array(2) { [0]=> string(6) "7.0.18" [1]=> string(6) "7.0.18" }
Output for 7.0.17
array(2) { [0]=> string(6) "7.0.17" [1]=> string(6) "7.0.17" }
Output for 7.0.16
array(2) { [0]=> string(6) "7.0.16" [1]=> string(6) "7.0.16" }
Output for 7.0.15
array(2) { [0]=> string(6) "7.0.15" [1]=> string(6) "7.0.15" }
Output for 7.0.14
array(2) { [0]=> string(6) "7.0.14" [1]=> string(6) "7.0.14" }
Output for 7.0.13
array(2) { [0]=> string(6) "7.0.13" [1]=> string(6) "7.0.13" }
Output for 7.0.12
array(2) { [0]=> string(6) "7.0.12" [1]=> string(6) "7.0.12" }
Output for 7.0.11
array(2) { [0]=> string(6) "7.0.11" [1]=> string(6) "7.0.11" }
Output for 7.0.10
array(2) { [0]=> string(6) "7.0.10" [1]=> string(6) "7.0.10" }
Output for 7.0.9
array(2) { [0]=> string(5) "7.0.9" [1]=> string(5) "7.0.9" }
Output for 7.0.8
array(2) { [0]=> string(5) "7.0.8" [1]=> string(5) "7.0.8" }
Output for 7.0.7
array(2) { [0]=> string(5) "7.0.7" [1]=> string(5) "7.0.7" }
Output for 7.0.6
array(2) { [0]=> string(5) "7.0.6" [1]=> string(5) "7.0.6" }
Output for 7.0.5
array(2) { [0]=> string(5) "7.0.5" [1]=> string(5) "7.0.5" }
Output for 7.0.4
array(2) { [0]=> string(5) "7.0.4" [1]=> string(5) "7.0.4" }
Output for 7.0.3
array(2) { [0]=> string(5) "7.0.3" [1]=> string(5) "7.0.3" }
Output for 7.0.2
array(2) { [0]=> string(5) "7.0.2" [1]=> string(5) "7.0.2" }
Output for 7.0.1
array(2) { [0]=> string(5) "7.0.1" [1]=> string(5) "7.0.1" }
Output for 7.0.0
array(2) { [0]=> string(5) "7.0.0" [1]=> string(5) "7.0.0" }
Output for 5.5.0 - 5.6.38
array(2) { [0]=> bool(false) [1]=> string(3) "0.2" }