3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { private $boo; public function __construct() { $this->boo = uniqid(); } public function go() { echo $this->boo; } } $a = new Foo(); $a->go();
Output for 7.1.0
539ef0cf0102a
Output for 7.0.14
539ef0cf00e3d
Output for 5.6.25, 7.0.4, 7.0.10
539ef0cf00e37
Output for 7.0.9
539ef0cf00d5d
Output for 7.0.8
539ef0cf00e66
Output for 7.0.7
539ef0cf00c25
Output for 7.0.6
539ef0cf00cfb
Output for 7.0.5
539ef0cf00daa
Output for 7.0.3
539ef0cf00c24
Output for 7.0.2
539ef0cf00caa
Output for 7.0.1
539ef0cf00f3f
Output for 7.0.0
539ef0cf00f88
Output for 5.6.28
539ef0cf01242
Output for 5.6.24
539ef0cf010f7
Output for 5.6.23
539ef0cf0114f
Output for 5.4.27, 5.6.22
539ef0cf00e8c
Output for 5.6.21
539ef0cf01193
Output for 5.6.20
539ef0cf00f1c
Output for 5.6.19
539ef0cf00be4
Output for 5.6.18
539ef0cf01167
Output for 5.6.17
539ef0cf01098
Output for 5.6.16
539ef0cf011f8
Output for 5.6.15
539ef0cf01075
Output for 5.6.14
539ef0cf012c1
Output for 5.6.13
539ef0cf0103a
Output for 5.6.12
539ef0cf012a1
Output for 5.6.11
539ef0cf01132
Output for 5.6.10
539ef0cf010d8
Output for 5.6.9
539ef0cf00fb6
Output for 5.6.8
539ef0cf012e3
Output for 5.6.7
539ef0cf01260
Output for 5.6.6
539ef0cf011dc
Output for 5.6.5
539ef0cf00e3c
Output for 5.6.4
539ef0cf00d13
Output for 5.6.3
539ef0cf00bd7
Output for 5.6.2
539ef0cf0124c
Output for 5.6.1
539ef0cf01228
Output for 5.6.0
539ef0cf00e0d
Output for 5.5.38
539ef0cf017f3
Output for 5.5.37
539ef0cf0123a
Output for 5.5.36
539ef0cf00e71
Output for 5.5.35
539ef0cf01208
Output for 5.5.34
539ef0cf00f0c
Output for 5.5.33
539ef0cf0122f
Output for 5.5.32
539ef0cf01279
Output for 5.5.31
539ef0cf010d6
Output for 5.5.30
539ef0cf01347
Output for 5.5.29
539ef0cf0119f
Output for 5.5.28
539ef0cf0110c
Output for 5.5.27
539ef0cf0101d
Output for 5.5.26
539ef0cf011b7
Output for 5.5.25
539ef0cf01197
Output for 5.5.20, 5.5.24
539ef0cf01153
Output for 5.5.23
539ef0cf012ee
Output for 5.5.22
539ef0cf0105a
Output for 5.5.21
539ef0cf00f38
Output for 5.5.19
539ef0cf01173
Output for 5.4.37, 5.5.18
539ef0cf00fa7
Output for 5.5.16
539ef0cf00c75
Output for 5.5.15
539ef0cf01039
Output for 5.5.14
539ef0cf01051
Output for 5.5.13
539ef0cf011bd
Output for 5.5.12
539ef0cf01165
Output for 5.5.11
539ef0cf00ecb
Output for 5.5.10
539ef0cf01263
Output for 5.4.41, 5.5.9
539ef0cf010bb
Output for 5.5.8
539ef0cf01218
Output for 5.5.7
539ef0cf01359
Output for 5.5.6
539ef0cf011c3
Output for 5.5.5
539ef0cf00f25
Output for 5.5.4
539ef0cf011d1
Output for 5.5.3
539ef0cf00fdb
Output for 5.5.2
539ef0cf01380
Output for 5.5.1
539ef0cf011cd
Output for 5.5.0
539ef0cf0130c
Output for 5.4.45
539ef0cf00da2
Output for 5.4.44
539ef0cf00f8e
Output for 5.4.43
539ef0cf00e8f
Output for 5.4.42
539ef0cf00db0
Output for 5.4.40
539ef0cf00eac
Output for 5.4.39
539ef0cf00e75
Output for 5.4.38
539ef0cf00d8c
Output for 5.4.36
539ef0cf00e49
Output for 5.4.35
539ef0cf009f5
Output for 5.4.34
539ef0cf01002
Output for 5.4.32
539ef0cf00d0c
Output for 5.4.31
539ef0cf0118b
Output for 5.4.30
539ef0cf00ffd
Output for 5.4.29
539ef0cf00e32
Output for 5.4.28
539ef0cf00ee8
Output for 5.4.26
539ef0cf00ff0
Output for 5.4.25
539ef0cf010c4
Output for 5.4.24
539ef0cf00f80
Output for 5.4.23
539ef0cf00b25
Output for 5.4.22
539ef0cf0102d
Output for 5.4.21
539ef0cf01090
Output for 5.4.20
539ef0cf01048
Output for 5.4.19
539ef0cf01069
Output for 5.4.18
539ef0cf00e83
Output for 5.4.17
539ef0cf010cb
Output for 5.4.16
539ef0cf00f78
Output for 5.4.15
539ef0cf00e3a
Output for 5.4.14
539ef0cf008f2
Output for 5.4.13
539ef0cf00983
Output for 5.4.12
539ef0cf00953
Output for 5.4.11
539ef0cf007f4
Output for 5.4.10
539ef0cf0094b
Output for 5.4.9
539ef0cf009b7
Output for 5.4.8
539ef0cf00837
Output for 5.4.7
539ef0cf0097c
Output for 5.4.6
539ef0cf00903
Output for 5.4.5
539ef0cf008bd
Output for 5.4.4
539ef0cf009b6
Output for 5.4.3
539ef0cf00807
Output for 5.4.2
539ef0cf00787
Output for 5.4.1
539ef0cf0067e
Output for 5.4.0
539ef0cf00782
Output for 5.3.29
539ef0cf00876
Output for 5.3.28
539ef0cf0083e
Output for 5.3.27
539ef0cf0090c
Output for 5.3.26
539ef0cf009d7
Output for 5.3.25
539ef0cf009fb
Output for 5.3.24
539ef0cf0089a
Output for 5.3.23
539ef0cf00a36
Output for 5.3.22
539ef0cf00949
Output for 5.3.21
539ef0cf008cf
Output for 5.3.20
539ef0cf00960
Output for 5.3.19
539ef0cf00709
Output for 5.3.18
539ef0cf008e3
Output for 5.3.17
539ef0cf0069b
Output for 5.3.16
539ef0cf0091c
Output for 5.3.15
539ef0cf00860
Output for 5.3.14
539ef0cf00755
Output for 5.3.13
539ef0cf006e8
Output for 5.3.12
539ef0cf0070a
Output for 5.3.11
539ef0cf00849
Output for 5.3.10
539ef0cf005dd
Output for 5.3.9
539ef0cf0093b
Output for 5.3.8
539ef0cf006b6
Output for 5.3.7
539ef0cf005d2
Output for 5.3.6
539ef0cf005b9
Output for 5.3.5
539ef0cf007ac
Output for 5.3.4
539ef0cf00578
Output for 5.3.3
539ef0cf006b8
Output for 5.3.2
539ef0cf00575
Output for 5.3.1
539ef0cf00576
Output for 5.3.0
539ef0cf0075b
Output for 5.2.17
539ef0cf004f5
Output for 5.2.16
539ef0cf00435
Output for 5.2.15
539ef0cf00463
Output for 5.2.14
539ef0cf0054e
Output for 5.1.2, 5.2.13
539ef0cf00649
Output for 5.2.12
539ef0cf00498
Output for 5.2.11
539ef0cf005a3
Output for 5.2.10
539ef0cf00668
Output for 5.2.9
539ef0cf00489
Output for 5.2.8
539ef0cf004e0
Output for 5.2.7
539ef0cf004b5
Output for 5.2.6
539ef0cf00443
Output for 5.2.5
539ef0cf00436
Output for 5.2.4
539ef0cf00411
Output for 5.2.3
539ef0cf00484
Output for 5.2.2
539ef0cf00527
Output for 5.2.1
539ef0cf00452
Output for 5.2.0
539ef0cf0042e
Output for 5.1.6
539ef0cf003fe
Output for 5.1.4 - 5.1.5
539ef0cf003eb
Output for 5.1.0, 5.1.3
539ef0cf003ee
Output for 5.1.1
539ef0cf003a6
Output for 5.0.5
539ef0cf0022b
Output for 5.0.4
539ef0cf001d0
Output for 5.0.3
539ef0cf001b7
Output for 5.0.2
539ef0cf001c4
Output for 5.0.1
539ef0cf001b9
Output for 5.0.0
539ef0cf001bc
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/io6sJ on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/io6sJ on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/io6sJ on line 5
Process exited with code 255.