3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'are'; stripos('/are/',$a);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0060.00916.07
7.3.00.0090.00516.24
7.2.130.0080.00716.74
7.2.120.0110.00516.49
7.2.110.0080.00716.50
7.2.100.0070.00916.38
7.2.90.0080.00716.50
7.2.80.0100.00616.61
7.2.70.0140.00516.51
7.2.60.0090.00616.64
7.2.50.0080.00516.48
7.2.40.0080.00616.76
7.2.30.0060.01316.54
7.2.20.0070.00716.54
7.2.10.0090.00716.65
7.2.00.0030.00817.39
7.1.250.0100.00815.83
7.1.240.0070.00715.72
7.1.230.0040.01115.52
7.1.220.0060.00815.79
7.1.210.0100.00615.49
7.1.200.0050.00715.76
7.1.190.0070.00715.64
7.1.180.0030.01015.75
7.1.170.0000.00815.67
7.1.160.0000.01315.80
7.1.150.0060.01015.75
7.1.140.0070.00315.55
7.1.130.0060.00615.64
7.1.120.0060.00615.83
7.1.110.0030.00915.71
7.1.100.0060.00516.97
7.1.90.0070.00715.40
7.1.80.0080.00415.48
7.1.70.0070.00716.39
7.1.60.0060.00517.46
7.1.50.0060.01116.18
7.1.40.0000.01315.72
7.1.30.0040.00715.63
7.1.20.0080.00415.59
7.1.10.0030.00615.87
7.1.00.0040.03119.18
7.0.330.0100.00315.45
7.0.320.0000.01015.04
7.0.310.0040.00815.11
7.0.300.0070.00715.32
7.0.290.0030.01015.03
7.0.280.0090.00315.10
7.0.270.0060.00514.93
7.0.260.0040.00415.31
7.0.250.0040.01115.39
7.0.240.0060.00915.25
7.0.230.0090.00015.34
7.0.220.0030.01015.21
7.0.210.0040.00815.14
7.0.200.0070.00315.74
7.0.190.0000.01015.08
7.0.180.0000.01115.25
7.0.170.0030.01215.29
7.0.160.0080.00315.27
7.0.150.0000.01015.27
7.0.140.0110.03218.61
7.0.130.0040.00815.20
7.0.120.0060.00315.55
7.0.110.0000.00815.25
7.0.100.0070.00415.02
7.0.90.0110.00415.38
7.0.80.0000.01015.36
7.0.70.0030.00315.15
7.0.60.0050.03518.53
7.0.50.0070.04218.67
7.0.40.0030.04816.68
7.0.30.0000.05016.68
7.0.20.0020.03916.64
7.0.10.0080.03816.64
7.0.00.0020.04716.78
5.6.380.0000.01514.22
5.6.370.0060.00314.18
5.6.360.0130.00014.41
5.6.350.0030.00614.05
5.6.340.0090.00614.47
5.6.330.0070.00714.20
5.6.320.0040.00414.08
5.6.310.0060.00314.22
5.6.300.0000.01514.03
5.6.290.0040.01114.41
5.6.280.0030.04017.71
5.6.270.0030.00914.29
5.6.260.0060.01014.39
5.6.250.0030.00913.93
5.6.240.0090.00314.07
5.6.230.0060.00314.21
5.6.220.0080.00414.25
5.6.210.0030.04017.33
5.6.200.0030.04617.54
5.6.190.0080.04017.61
5.6.180.0020.04217.61
5.6.170.0030.04217.59
5.6.160.0050.05217.48
5.6.150.0070.04517.45
5.6.140.0080.04317.42
5.6.130.0090.04017.54
5.6.120.0050.04217.51
5.6.110.0030.04917.56
5.6.100.0080.04317.61
5.6.90.0060.04317.54
5.6.80.0050.04317.30
5.6.70.0020.04317.28
5.6.60.0020.04717.37
5.6.50.0080.04317.23
5.6.40.0030.04317.00
5.6.30.0110.03917.31
5.6.20.0050.02116.98
5.6.10.0020.02417.18
5.6.00.0050.02817.18
5.5.380.0030.00711.18
5.5.370.0070.00311.18
5.5.360.0060.00011.18
5.5.350.0030.04115.78
5.5.340.0070.03415.93
5.5.330.0070.03916.02
5.5.320.0000.04915.91
5.5.310.0070.04015.97
5.5.300.0030.04216.03
5.5.290.0010.04216.03
5.5.280.0030.04515.93
5.5.270.0040.04315.90
5.5.260.0020.04316.00
5.5.250.0030.04815.97
5.5.240.0060.03615.65
5.5.230.0040.04215.67
5.5.220.0050.04315.76
5.5.210.0050.03315.65
5.5.200.0030.04115.63
5.5.190.0020.04015.73
5.5.180.0020.04715.69
5.5.170.0040.00811.18
5.5.160.0030.02015.64
5.5.150.0070.02015.66
5.5.140.0030.02015.60
5.5.130.0050.02215.70
5.5.120.0020.02215.75
5.5.110.0040.02215.64
5.5.100.0050.01515.59
5.5.90.0050.02215.62
5.5.80.0030.03415.68
5.5.70.0070.04115.59
5.5.60.0070.02515.57
5.5.50.0020.02115.57
5.5.40.0020.02015.60
5.5.30.0050.01815.63
5.5.20.0020.02315.56
5.5.10.0040.02015.57
5.5.00.0000.02115.57
5.4.450.0090.03715.18
5.4.440.0040.04415.30
5.4.430.0030.04015.25
5.4.420.0050.04415.28
5.4.410.0000.04515.21
5.4.400.0060.03215.16
5.4.390.0080.04015.04
5.4.380.0020.03815.18
5.4.370.0050.03815.14
5.4.360.0060.04115.09
5.4.350.0020.04515.09
5.4.340.0050.02115.09
5.4.330.0000.00511.18
5.4.320.0030.02215.16
5.4.310.0020.02415.01
5.4.300.0040.02115.07
5.4.290.0030.01715.09
5.4.280.0020.02415.09
5.4.270.0010.01815.08
5.4.260.0000.02615.09
5.4.250.0010.03415.11
5.4.240.0080.03815.06
5.4.230.0070.02215.17
5.4.220.0060.01915.01
5.4.210.0020.02915.19
5.4.200.0030.02615.16
5.4.190.0040.02215.06
5.4.180.0040.03315.07
5.4.170.0030.01815.01
5.4.160.0030.01515.08
5.4.150.0000.02315.05
5.4.140.0030.01513.78
5.4.130.0040.01813.69
5.4.120.0000.02013.75
5.4.110.0050.01313.70
5.4.100.0000.02213.71
5.4.90.0020.02213.71
5.4.80.0010.01813.68
5.4.70.0000.01713.75
5.4.60.0020.01713.80
5.4.50.0050.01613.67
5.4.40.0050.01713.75
5.4.30.0020.01813.77
5.4.20.0000.02213.69
5.4.10.0020.01813.73
5.4.00.0040.01713.41
5.3.290.0000.02412.91
5.3.280.0000.02112.80
5.3.270.0000.01912.85
5.3.260.0020.01812.88
5.3.250.0020.02112.85
5.3.240.0020.01912.88
5.3.230.0000.01812.87
5.3.220.0060.01512.83
5.3.210.0020.01912.82
5.3.200.0010.02112.84
5.3.190.0040.01912.82
5.3.180.0030.01612.84
5.3.170.0000.01912.78
5.3.160.0000.01812.86
5.3.150.0020.02012.79
5.3.140.0050.02012.83
5.3.130.0030.01712.75
5.3.120.0020.02512.85
5.3.110.0030.01512.82
5.3.100.0090.02012.59
5.3.90.0040.01712.49
5.3.80.0030.02712.57
5.3.70.0030.02712.47
5.3.60.0000.03712.55
5.3.50.0030.03712.55
5.3.40.0000.04312.55
5.3.30.0020.04312.53
5.3.20.0050.03812.40
5.3.10.0010.04112.38
5.3.00.0020.03812.39
5.2.170.0030.03511.14
5.2.160.0060.02811.04
5.2.150.0040.03411.12
5.2.140.0060.03011.17
5.2.130.0050.03311.02
5.2.120.0000.03011.15
5.2.110.0090.02911.03
5.2.100.0030.03311.11
5.2.90.0040.02811.15
5.2.80.0020.03211.13
5.2.70.0040.02511.14
5.2.60.0020.03111.11
5.2.50.0050.03111.10
5.2.40.0020.03511.08
5.2.30.0070.02511.00
5.2.20.0020.02611.07
5.2.10.0050.03010.94
5.2.00.0060.02710.95
5.1.60.0020.03210.61
5.1.50.0060.02810.60
5.1.40.0030.02610.56
5.1.30.0060.02810.77
5.1.20.0050.02710.68
5.1.10.0060.02510.61
5.1.00.0020.03210.64
5.0.50.0000.02910.10
5.0.40.0030.02310.10
5.0.30.0030.03110.10
5.0.20.0030.02110.10
5.0.10.0000.02510.10
5.0.00.0040.02810.10
4.4.90.0020.01710.10
4.4.80.0020.01810.10
4.4.70.0030.01310.10
4.4.60.0020.01710.10
4.4.50.0000.02010.10
4.4.40.0000.03010.10
4.4.30.0020.02010.10
4.4.20.0050.01510.10
4.4.10.0030.01810.10
4.4.00.0000.02910.10
4.3.110.0020.01810.10
4.3.100.0020.02010.10
4.3.90.0020.01810.10
4.3.80.0000.02510.10
4.3.70.0040.01210.10
4.3.60.0010.02010.10
4.3.50.0030.01810.10
4.3.40.0020.02510.10
4.3.30.0030.01810.10
4.3.20.0000.02210.10
4.3.10.0020.02010.10
4.3.00.0030.01810.10