3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = function($b = '1'){$a = '123';}; echo spl_object_hash($a) . PHP_EOL; echo spl_object_hash($a);
Output for 7.1.0
000000007ef2a916000000001da4c1d8 000000007ef2a916000000001da4c1d8
Output for 7.0.14
000000001a33e348000000007393518d 000000001a33e348000000007393518d
Output for 7.0.8
000000002e850458000000006addcf3d 000000002e850458000000006addcf3d
Output for 7.0.7
0000000059f3b4df00000000081cfac1 0000000059f3b4df00000000081cfac1
Output for 7.0.6
0000000003939a050000000032df1c45 0000000003939a050000000032df1c45
Output for 7.0.5
00000000385d7fee000000007e0c8ae3 00000000385d7fee000000007e0c8ae3
Output for 7.0.4
0000000035245f38000000003d90fcee 0000000035245f38000000003d90fcee
Output for 7.0.3
000000004b95171500000000410c4b8c 000000004b95171500000000410c4b8c
Output for 7.0.2
000000004b7b2cd70000000060a39d0c 000000004b7b2cd70000000060a39d0c
Output for 7.0.1
000000005ed575a1000000006a11ba4f 000000005ed575a1000000006a11ba4f
Output for 7.0.0
00000000303c7b36000000007718551a 00000000303c7b36000000007718551a
Output for hhvm-3.12.0
00000000000000007d7f002de7534dda 00000000000000007d7f002de7534dda
Output for hhvm-3.10.0
0000000000000000db77014943ff0295 0000000000000000db77014943ff0295
Output for 5.6.28
0000000060441a49000000003e4ea5c6 0000000060441a49000000003e4ea5c6
Output for 5.6.23
000000007335b79f0000000035616e8c 000000007335b79f0000000035616e8c
Output for 5.6.22
000000006134443b000000001130fb7c 000000006134443b000000001130fb7c
Output for 5.6.21
00000000117f42e1000000006f0b1cdc 00000000117f42e1000000006f0b1cdc
Output for 5.6.20
0000000061f2f00e0000000075058450 0000000061f2f00e0000000075058450
Output for 5.6.19
0000000004ab3734000000004231905e 0000000004ab3734000000004231905e
Output for 5.6.18
00000000094378050000000017627fac 00000000094378050000000017627fac
Output for 5.6.17
0000000051db05010000000041c41565 0000000051db05010000000041c41565
Output for 5.6.16
000000003cd178f200000000052bbb5c 000000003cd178f200000000052bbb5c
Output for 5.6.15
00000000480147da0000000009f31d1f 00000000480147da0000000009f31d1f
Output for 5.6.14
000000004b2b425e0000000063c05a03 000000004b2b425e0000000063c05a03
Output for 5.6.13
000000003e4ead8b00000000318d2946 000000003e4ead8b00000000318d2946
Output for 5.6.12
00000000056ce0730000000056179010 00000000056ce0730000000056179010
Output for 5.6.11
000000007ae601490000000079fea38e 000000007ae601490000000079fea38e
Output for 5.6.10
00000000388ba7760000000026ece873 00000000388ba7760000000026ece873
Output for 5.6.9
000000000eccaecc000000003c62d6b3 000000000eccaecc000000003c62d6b3
Output for 5.6.8
000000006529b99e000000004056643f 000000006529b99e000000004056643f
Output for 5.6.7
000000006c505ae30000000038c871e3 000000006c505ae30000000038c871e3
Output for 5.6.6
00000000421df71a0000000032b992c1 00000000421df71a0000000032b992c1
Output for 5.6.5
0000000035345db400000000511d8a56 0000000035345db400000000511d8a56
Output for 5.6.4
000000004666d22400000000417ffcc4 000000004666d22400000000417ffcc4
Output for 5.6.3
0000000061285dcf0000000074fb587c 0000000061285dcf0000000074fb587c
Output for 5.6.2
0000000007f9137e0000000070040625 0000000007f9137e0000000070040625
Output for 5.6.1
0000000065d1aea4000000006f3223d8 0000000065d1aea4000000006f3223d8
Output for 5.6.0
000000006743a27600000000634ca33d 000000006743a27600000000634ca33d
Output for 5.5.37
000000001960b1c4000000001c89f81b 000000001960b1c4000000001c89f81b
Output for 5.5.36
0000000047e7e601000000004547c54e 0000000047e7e601000000004547c54e
Output for 5.5.35
0000000072a7579a000000000f7af514 0000000072a7579a000000000f7af514
Output for 5.5.34
000000005871f15e00000000000888a4 000000005871f15e00000000000888a4
Output for 5.5.33
000000000ee792ca000000001978bcab 000000000ee792ca000000001978bcab
Output for 5.5.32
000000000e223277000000004aa294c8 000000000e223277000000004aa294c8
Output for 5.5.31
00000000270be2ff000000006f7a30c1 00000000270be2ff000000006f7a30c1
Output for 5.5.30
0000000069ad74e7000000006d9be759 0000000069ad74e7000000006d9be759
Output for 5.5.29
00000000742a27c7000000006ca664da 00000000742a27c7000000006ca664da
Output for 5.5.28
000000001613d6bd000000002f4b5bf3 000000001613d6bd000000002f4b5bf3
Output for 5.5.27
00000000592ef16f000000001368629d 00000000592ef16f000000001368629d
Output for 5.5.26
0000000073936bc00000000012b9e61e 0000000073936bc00000000012b9e61e
Output for 5.5.25
000000000654483d000000000772e1b0 000000000654483d000000000772e1b0
Output for 5.5.24
000000001a6e7f8c00000000193bd303 000000001a6e7f8c00000000193bd303
Output for 5.5.23
00000000707ded1700000000229f2b66 00000000707ded1700000000229f2b66
Output for 5.5.22
0000000007e8468e000000002c764723 0000000007e8468e000000002c764723
Output for 5.5.21
000000004a5e3818000000004689037d 000000004a5e3818000000004689037d
Output for 5.5.20
0000000044d0c7550000000034a48152 0000000044d0c7550000000034a48152
Output for 5.5.19
0000000034cab260000000005685426d 0000000034cab260000000005685426d
Output for 5.5.18
00000000331ffb9400000000410b2660 00000000331ffb9400000000410b2660
Output for 5.5.16
00000000236bffad000000005cfc95c3 00000000236bffad000000005cfc95c3
Output for 5.5.15
000000003d75916f00000000187fc41f 000000003d75916f00000000187fc41f
Output for 5.5.14
000000003f9afd9a000000003bb6b6c8 000000003f9afd9a000000003bb6b6c8
Output for 5.5.13
000000003bfde6f2000000000685fb6c 000000003bfde6f2000000000685fb6c
Output for 5.5.12
000000000e03d8d6000000007d8b89f1 000000000e03d8d6000000007d8b89f1
Output for 5.5.11
000000007251d013000000006b16aa5e 000000007251d013000000006b16aa5e
Output for 5.5.10
0000000047d5da08000000002163e1c7 0000000047d5da08000000002163e1c7
Output for 5.5.9
0000000075e5b2510000000061e6c54b 0000000075e5b2510000000061e6c54b
Output for 5.5.8
00000000409fec550000000067b35be4 00000000409fec550000000067b35be4
Output for 5.5.7
000000007445e5590000000065928f22 000000007445e5590000000065928f22
Output for 5.5.6
0000000027771ed80000000031620304 0000000027771ed80000000031620304
Output for 5.5.5
000000000c67dd6c000000007d2d3ab1 000000000c67dd6c000000007d2d3ab1
Output for 5.5.4
000000007b7071cb000000000c229b62 000000007b7071cb000000000c229b62
Output for 5.5.3
000000006ca241130000000002e9709b 000000006ca241130000000002e9709b
Output for 5.5.2
000000006fbdfd2c000000006164dbb2 000000006fbdfd2c000000006164dbb2
Output for 5.5.1
000000001613faa9000000004cd04c75 000000001613faa9000000004cd04c75
Output for 5.5.0
000000005b80ddbc0000000076754618 000000005b80ddbc0000000076754618
Output for 5.4.45
000000003d09ae6700000000792685d8 000000003d09ae6700000000792685d8
Output for 5.4.44
000000004a0834c90000000033108780 000000004a0834c90000000033108780
Output for 5.4.43
000000002d7383b70000000038854c73 000000002d7383b70000000038854c73
Output for 5.4.42
0000000009e5dc4b0000000043bd1203 0000000009e5dc4b0000000043bd1203
Output for 5.4.41
0000000042c0785c000000006497b1b7 0000000042c0785c000000006497b1b7
Output for 5.4.40
000000001d655ca400000000179043f2 000000001d655ca400000000179043f2
Output for 5.4.39
00000000129357f9000000006e359031 00000000129357f9000000006e359031
Output for 5.4.38
000000004010640a0000000031449a44 000000004010640a0000000031449a44
Output for 5.4.37
0000000013bcadf3000000000e35021d 0000000013bcadf3000000000e35021d
Output for 5.4.36
000000000b28f153000000001e073f78 000000000b28f153000000001e073f78
Output for 5.4.35
000000003f2d48da000000006e1f58cc 000000003f2d48da000000006e1f58cc
Output for 5.4.34
000000003dddc8e800000000617c7afa 000000003dddc8e800000000617c7afa
Output for 5.4.32
000000000defc67b000000004d92db93 000000000defc67b000000004d92db93
Output for 5.4.31
00000000682f5bc0000000007bed2cb1 00000000682f5bc0000000007bed2cb1
Output for 5.4.30
0000000037df798a00000000527d47cc 0000000037df798a00000000527d47cc
Output for 5.4.29
00000000396b1b40000000001debe5df 00000000396b1b40000000001debe5df
Output for 5.4.28
0000000037cf05aa0000000025b4e09e 0000000037cf05aa0000000025b4e09e
Output for 5.4.27
0000000053713e67000000001c56f855 0000000053713e67000000001c56f855
Output for 5.4.26
0000000019d382dd0000000022c6927f 0000000019d382dd0000000022c6927f
Output for 5.4.25
000000001c9687f900000000604ac523 000000001c9687f900000000604ac523
Output for 5.4.24
000000004f4d7f0c000000001436c3f9 000000004f4d7f0c000000001436c3f9
Output for 5.4.23
00000000650e5709000000000d37eaa8 00000000650e5709000000000d37eaa8
Output for 5.4.22
00000000779ab95c000000006ce49792 00000000779ab95c000000006ce49792
Output for 5.4.21
0000000002aee3d7000000001ce3c4bf 0000000002aee3d7000000001ce3c4bf
Output for 5.4.20
000000000d84f9d800000000685465d0 000000000d84f9d800000000685465d0
Output for 5.4.19
00000000103e05fe000000004dffce51 00000000103e05fe000000004dffce51
Output for 5.4.18
00000000220ff04100000000297b027a 00000000220ff04100000000297b027a
Output for 5.4.17
00000000788f801b000000001d59efb7 00000000788f801b000000001d59efb7
Output for 5.4.16
0000000046b64ca30000000005cd7380 0000000046b64ca30000000005cd7380
Output for 5.4.15
0000000027f47919000000004e0a554e 0000000027f47919000000004e0a554e
Output for 5.4.14
0000000055edaf490000000037abcd94 0000000055edaf490000000037abcd94
Output for 5.4.13
000000001953d4520000000018a97308 000000001953d4520000000018a97308
Output for 5.4.12
00000000030db577000000003fe41f0d 00000000030db577000000003fe41f0d
Output for 5.4.11
000000002fa66f30000000006c2c586b 000000002fa66f30000000006c2c586b
Output for 5.4.10
000000002d90f34a000000006c4ab538 000000002d90f34a000000006c4ab538
Output for 5.4.9
0000000016cc14b3000000002046716b 0000000016cc14b3000000002046716b
Output for 5.4.8
00000000679c0f5d00000000024b3387 00000000679c0f5d00000000024b3387
Output for 5.4.7
0000000032e5c566000000001dcdc53c 0000000032e5c566000000001dcdc53c
Output for 5.4.6
0000000077ead463000000001bf45542 0000000077ead463000000001bf45542
Output for 5.4.5
0000000074d0131400000000088f7d4a 0000000074d0131400000000088f7d4a
Output for 5.4.4
000000003153acea0000000025e02760 000000003153acea0000000025e02760
Output for 5.4.3
000000002f699884000000007f6af170 000000002f699884000000007f6af170
Output for 5.4.2
0000000017fc098a0000000012acc678 0000000017fc098a0000000012acc678
Output for 5.4.1
0000000079609467000000003f904dce 0000000079609467000000003f904dce
Output for 5.4.0
0000000024c4178c00000000643f66ad 0000000024c4178c00000000643f66ad
Output for 5.3.29
00000000306842060000000003b93280 00000000306842060000000003b93280
Output for 5.3.28
00000000679d958d0000000023d2484a 00000000679d958d0000000023d2484a
Output for 5.3.27
000000001d205a020000000044441ffe 000000001d205a020000000044441ffe
Output for 5.3.26
000000005359971a0000000011b336ab 000000005359971a0000000011b336ab
Output for 5.3.25
00000000215c6307000000001f43701b 00000000215c6307000000001f43701b
Output for 5.3.24
0000000021493460000000006f821d9b 0000000021493460000000006f821d9b
Output for 5.3.23
000000005a4750a8000000001cc1cadf 000000005a4750a8000000001cc1cadf
Output for 5.3.22
000000003c6922ce0000000006862d29 000000003c6922ce0000000006862d29
Output for 5.3.21
0000000036ad1692000000006c105d35 0000000036ad1692000000006c105d35
Output for 5.3.20
000000005c883c92000000000d30cf73 000000005c883c92000000000d30cf73
Output for 5.3.19
00000000554e1d4b0000000029a791ce 00000000554e1d4b0000000029a791ce
Output for 5.3.18
0000000026fbb47e000000005831fb4b 0000000026fbb47e000000005831fb4b
Output for 5.3.17
00000000736270a6000000001c4870e0 00000000736270a6000000001c4870e0
Output for 5.3.16
0000000064e54e92000000005ef47f9c 0000000064e54e92000000005ef47f9c
Output for 5.3.15
00000000011074a6000000005077c935 00000000011074a6000000005077c935
Output for 5.3.14
000000007947ee6e000000007e100a1f 000000007947ee6e000000007e100a1f
Output for 5.3.13
00000000454fdebf0000000072c76072 00000000454fdebf0000000072c76072
Output for 5.3.12
000000000fd10e66000000007f64f8fd 000000000fd10e66000000007f64f8fd
Output for 5.3.11
000000004308491d000000001b1aa599 000000004308491d000000001b1aa599
Output for 5.3.10
00000000478b6b6a000000000b4fc25e 00000000478b6b6a000000000b4fc25e
Output for 5.3.9
0000000079caa16e000000003df3904b 0000000079caa16e000000003df3904b
Output for 5.3.8
000000006b31a429000000001e1a67fd 000000006b31a429000000001e1a67fd
Output for 5.3.7
0000000078202b86000000001ccc8396 0000000078202b86000000001ccc8396
Output for 5.3.6
00000000004582620000000041dd6267 00000000004582620000000041dd6267
Output for 5.3.5
0000000043d93e7d000000004b550a73 0000000043d93e7d000000004b550a73
Output for 5.3.4
00000000654ea7dd000000006d4a7d8f 00000000654ea7dd000000006d4a7d8f
Output for 5.3.3
000000005ff9a065000000000adaad61 000000005ff9a065000000000adaad61
Output for 5.3.2
000000001299914b000000007fc79b20 000000001299914b000000007fc79b20
Output for 5.3.1
00000000583ed6a90000000041f4a20c 00000000583ed6a90000000041f4a20c
Output for 5.3.0
0000000014590c32000000005c6ca186 0000000014590c32000000005c6ca186
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION in /in/eva0P on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_FUNCTION in /in/eva0P on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/eva0P on line 3
Process exited with code 255.