3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 25; $i++) { print_r(rand(0,1)); }
based on pVn79
Output for 7.2.6
1111011111000010100000110
Output for 7.2.0
0011001000010100000100010
Output for 7.1.10
1100010110010101010110110
Output for 7.1.7
1111110010010010011010010
Output for 7.1.6
0000001010111011010110011
Output for 7.1.5
1101000100011110110010010
Output for 7.1.4
0101011000010101101101111
Output for 7.1.3
1111100101001111011101011
Output for 7.1.2
0001001111001111010011101
Output for 7.1.1
0010110111100011000011010
Output for 7.1.0
1110101100010101010001000
Output for 7.0.20
1010100100000000001110100
Output for 7.0.19
1000010010100101011011011
Output for 7.0.18
1000110000100001110101101
Output for 7.0.17
1100010001100110101110000
Output for 7.0.16
0111000011110001100010101
Output for 7.0.15
1001111100101010010111110
Output for 7.0.14
1101111000100010011000001
Output for 7.0.13
0101001000111101111000000
Output for 7.0.12
0011011000110011100111010
Output for 7.0.11
0101100100000110101000010
Output for 7.0.10
0111110110000111000010000
Output for 7.0.9
1100110011101100110101110
Output for 7.0.8
0111101011110010000110100
Output for 7.0.7
0000001011010010110000100
Output for 7.0.6
0111100100010110000001011
Output for 7.0.5
0010111111010001011001011
Output for 7.0.4
0101010100101110101111000
Output for 7.0.3
0100110000100101110001111
Output for 7.0.2
1111011101000011000101010
Output for 7.0.1
0000010000110100110011000
Output for 7.0.0
1111101000010100000100100
Output for hhvm-3.15.4
1110010110010011101101101
Output for 5.6.30
0100000000010001111101010
Output for 5.6.29
1000000001000101111111011
Output for 5.6.28
0010101010101000001110100
Output for 5.6.27
0000110001110110101100110
Output for 5.6.26
1010010101000110001100110
Output for 5.6.25
1011000010100111010100010
Output for 5.6.24
0000100000010110001001101
Output for 5.6.23
0110100011010000010101000
Output for 5.6.22
0000010100111101000011101
Output for 5.6.21
1001111011110100001101010
Output for 5.6.20
0011001011111011001100111
Output for 5.6.19
0010111011110101010100000
Output for 5.6.18
1011000001100010010000101
Output for 5.6.17
1110110011101011001101101
Output for 5.6.16
0111111111110101001001101
Output for 5.6.15
0011100100110100100010111
Output for 5.6.14
1011110101010001001011100
Output for 5.6.13
0110000111001010100101110
Output for 5.6.12
0110111010001011110010011
Output for 5.6.11
1110010111100101000010011
Output for 5.6.10
0111110010000101011111000
Output for 5.6.9
0100111101100100000101101
Output for 5.6.8
0010100000110111001110110
Output for 5.6.7
1000011101101111001011101
Output for 5.6.6
1110111011001010111001100
Output for 5.6.5
1110110010101111011100010
Output for 5.6.4
1101001101100011011101001
Output for 5.6.3
0100101111011100101101010
Output for 5.6.2
0111101000011010111111000
Output for 5.6.1
1101101001101010100111010
Output for 5.6.0
0100011011000011111110100