3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = hash('sha256', ''); echo $hash; echo $timestamp = gmstrftime('%Y%m%d%H%M%S'); $hash = hash(sha256, ''); echo $hash;
based on G355O
Output for 5.6.28, 7.0.14 - 7.1.0
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520140812150012 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 7.0.6
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160503074824 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 7.0.5
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160402203935 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 7.0.4
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160310081235 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 7.0.3
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160318085002 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 7.0.2
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160322144346 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 7.0.1
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160323192825 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 7.0.0
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160326210104 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for hhvm-3.12.0
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160311211904 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for hhvm-3.10.0
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160330092048 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.21
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160502030934 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.20
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160409193628 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.19
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160307162032 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.18
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160315001650 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.17
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160319130518 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.16
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160327214623 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.15
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160328225134 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.14
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160402011222 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.13
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160415050700 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.12
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160419185133 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.11
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160423015538 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.10
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160425033920 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.9
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160427083720 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.6.8
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160429164220 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.35
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160522065227 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.34
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160410215641 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.33
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160308191731 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.32
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160317015806 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.31
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160320155106 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.30
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160401004713 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.29
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160416191223 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.28
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160420215640 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.27
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160422002627 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.26
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160426060618 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.25
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160428122409 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.5.24
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520160523194526 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.45
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150921102208 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.44
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150921102200 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.43
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150921102152 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.42
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150921102149 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.41
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150921102145 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.40
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150921102142 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.39
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150921102139 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.38
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150313154302 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.36 - 5.4.37
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150313154255 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.34 - 5.4.35
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520150313154254 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.3.29, 5.4.32
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520140828102123 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.4.14 - 5.4.31
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520140812150017 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.3.23 - 5.3.28, 5.4.0 - 5.4.13
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520140812150018 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.3.4 - 5.3.22
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520140812150019 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.1.6 - 5.3.3
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520140812150020 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.1.2 - 5.1.5
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85520140812150021 Notice: Use of undefined constant sha256 - assumed 'sha256' in /in/4pJ6n on line 10 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/4pJ6n on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/4pJ6n on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/4pJ6n on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/4pJ6n on line 4