3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hasil = 52.5; $array1 = array(0,40,65); $array2 = array(40,65,80); $array3 = array(65,80,100); $result = array_intersect($array2, $array3); print_r($result); echo $array1[1]; if ($hasil >= $result ){ echo "true"; }else{echo "false";}

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0100.01018.38
8.3.50.0240.00421.98
8.3.40.0080.00618.85
8.3.30.0140.00719.27
8.3.20.0030.00520.13
8.3.10.0080.00023.62
8.3.00.0040.00422.36
8.2.180.0090.00616.75
8.2.170.0070.00722.96
8.2.160.0160.00322.17
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.23
8.2.110.0030.00619.33
8.2.100.0030.00917.85
8.2.90.0040.00418.16
8.2.80.0000.00818.02
8.2.70.0040.00417.50
8.2.60.0030.00517.93
8.2.50.0030.00518.07
8.2.40.0040.00417.97
8.2.30.0060.00318.06
8.2.20.0040.00417.72
8.2.10.0000.00717.62
8.2.00.0040.00417.62
8.1.280.0110.00725.92
8.1.270.0060.00323.99
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0060.00322.21
8.1.230.0040.00721.04
8.1.220.0040.00417.78
8.1.210.0000.00818.88
8.1.200.0090.00017.22
8.1.190.0050.00317.41
8.1.180.0060.00318.10
8.1.170.0000.00918.45
8.1.160.0000.00721.89
8.1.150.0070.00418.56
8.1.140.0000.00817.45
8.1.130.0000.00717.83
8.1.120.0000.00917.47
8.1.110.0040.00417.50
8.1.100.0050.00217.35
8.1.90.0000.00717.51
8.1.80.0070.00017.36
8.1.70.0030.00317.43
8.1.60.0070.00317.62
8.1.50.0030.00517.42
8.1.40.0030.00617.42
8.1.30.0040.00417.62
8.1.20.0000.00817.71
8.1.10.0000.00817.59
8.1.00.0000.00817.52
8.0.300.0000.00820.23
8.0.290.0070.00017.16
8.0.280.0030.00318.48
8.0.270.0070.00017.25
8.0.260.0000.00616.77
8.0.250.0000.00716.98
8.0.240.0000.00716.97
8.0.230.0030.00316.93
8.0.220.0030.00316.89
8.0.210.0080.00016.86
8.0.200.0000.00616.84
8.0.190.0040.00416.86
8.0.180.0040.00416.97
8.0.170.0030.00516.97
8.0.160.0040.00416.95
8.0.150.0030.00316.84
8.0.140.0000.00716.77
8.0.130.0040.00413.31
8.0.120.0000.00716.82
8.0.110.0070.00016.86
8.0.100.0000.00716.69
8.0.90.0020.00516.79
8.0.80.0030.01316.84
8.0.70.0000.00716.72
8.0.60.0050.00216.87
8.0.50.0070.00016.93
8.0.30.0090.01016.95
8.0.20.0120.00617.40
8.0.10.0040.00417.05
8.0.00.0090.01316.79
7.4.330.0000.00515.05
7.4.320.0000.00616.53
7.4.300.0000.00716.48
7.4.290.0040.00416.48
7.4.280.0030.00516.52
7.4.270.0100.00016.48
7.4.260.0040.00416.39
7.4.250.0000.00716.47
7.4.240.0020.00516.60
7.4.230.0000.00716.44
7.4.220.0080.01116.66
7.4.210.0040.01116.62
7.4.200.0050.00216.55
7.4.190.0000.00716.68
7.4.160.0040.01116.56
7.4.150.0070.01117.40
7.4.140.0100.01017.86
7.4.130.0080.01016.44
7.4.120.0120.00516.56
7.4.110.0030.01416.54
7.4.100.0100.00716.48
7.4.90.0070.01116.59
7.4.80.0100.00716.46
7.4.70.0090.00916.39
7.4.60.0150.00616.45
7.4.50.0030.00616.40
7.4.40.0120.00622.77
7.4.30.0090.01216.38
7.4.00.0110.00614.97
7.3.330.0030.00313.06
7.3.320.0000.00513.18
7.3.310.0030.00316.13
7.3.300.0070.00016.26
7.3.290.0110.00316.29
7.3.280.0080.00916.26
7.3.270.0130.00917.40
7.3.260.0160.00316.36
7.3.250.0090.00816.29
7.3.240.0090.00616.43
7.3.230.0120.00416.39
7.3.210.0060.01216.19
7.3.200.0000.01719.39
7.3.190.0120.00916.53
7.3.180.0100.00616.39
7.3.170.0130.00316.50
7.3.160.0060.00916.49
7.3.120.0080.00714.91
7.3.110.0120.00614.48
7.3.100.0070.00714.72
7.3.90.0070.01014.82
7.3.80.0070.01014.60
7.3.70.0070.00714.76
7.3.60.0000.01314.76
7.3.50.0060.00914.55
7.3.40.0040.01414.59
7.3.30.0040.01114.82
7.3.20.0030.00616.43
7.3.10.0060.00916.69
7.3.00.0090.00616.43
7.2.330.0080.01116.42
7.2.320.0120.00616.56
7.2.310.0130.00716.67
7.2.300.0090.00916.77
7.2.290.0090.00916.39
7.2.250.0000.01915.24
7.2.240.0100.01015.27
7.2.230.0070.01415.11
7.2.220.0000.01415.04
7.2.210.0070.00714.73
7.2.200.0000.01215.04
7.2.190.0060.00614.76
7.2.180.0090.00614.71
7.2.170.0080.00315.09
7.2.120.0110.00416.30
7.2.110.0070.00416.67
7.2.100.0030.00716.48
7.2.90.0070.00716.70
7.2.80.0060.00616.51
7.2.70.0070.00716.93
7.2.60.0100.00616.78
7.2.50.0040.01116.94
7.2.40.0100.00316.80
7.2.30.0090.00617.01
7.2.20.0120.00316.98
7.2.10.0040.01216.99
7.2.00.0030.00818.13
7.1.330.0040.01115.91
7.1.320.0070.00715.84
7.1.310.0100.00316.09
7.1.300.0160.00315.68
7.1.290.0060.00915.84
7.1.280.0060.00615.87
7.1.270.0030.00715.79
7.1.260.0090.00615.73
7.1.240.0120.00015.46
7.1.230.0030.01015.68
7.1.220.0030.00715.96
7.1.210.0000.01515.75
7.1.200.0070.00515.67
7.1.190.0070.00715.82
7.1.180.0030.01015.56
7.1.170.0000.01415.77
7.1.160.0040.01115.80
7.1.150.0080.00815.89
7.1.140.0000.01015.77
7.1.130.0060.00915.87
7.1.120.0070.00715.87
7.1.110.0000.01615.84
7.1.100.0020.01017.00
7.1.90.0000.01415.79
7.1.80.0050.00915.84
7.1.70.0060.00616.34
7.1.60.0020.01116.34
7.1.50.0080.01016.34
7.1.40.0070.00415.59
7.1.30.0090.00615.79
7.1.20.0100.00315.68
7.1.10.0080.00815.80
7.1.00.0080.03818.93
7.0.320.0000.01215.37
7.0.310.0040.00815.22
7.0.300.0060.00915.10
7.0.290.0100.00315.35
7.0.280.0060.00615.36
7.0.270.0060.00315.19
7.0.260.0080.00415.12
7.0.250.0030.00715.47
7.0.240.0000.00915.43
7.0.230.0030.01015.54
7.0.220.0040.00815.48
7.0.210.0060.00615.41
7.0.200.0110.00316.15
7.0.190.0030.00715.48
7.0.180.0150.00015.44
7.0.170.0040.00815.34
7.0.160.0100.00315.55
7.0.150.0020.00515.41
7.0.140.0020.04118.68
7.0.130.0030.00715.54
7.0.120.0000.01215.47
7.0.110.0000.01415.19
7.0.100.0040.00715.27
7.0.90.0060.00615.40
7.0.80.0090.00615.52
7.0.70.0100.00315.32
7.0.60.0030.02817.68
7.0.50.0030.04616.62
7.0.40.0030.04116.69
7.0.30.0170.02516.75
7.0.20.0160.02116.83
7.0.10.0110.02616.70
7.0.00.0050.03916.83
5.6.380.0030.01014.59
5.6.370.0060.00914.32
5.6.360.0100.00314.18
5.6.350.0130.00014.33
5.6.340.0090.00314.50
5.6.330.0030.01014.67
5.6.320.0080.00414.21
5.6.310.0100.00314.55
5.6.300.0040.01114.17
5.6.290.0070.00714.25
5.6.280.0130.03217.75
5.6.270.0060.00714.48
5.6.260.0000.01314.37
5.6.250.0030.01014.57
5.6.240.0030.00714.35
5.6.230.0100.00314.64
5.6.220.0000.01414.53
5.6.210.0080.03817.48
5.6.200.0060.03216.18
5.6.190.0050.03817.37
5.6.180.0220.02317.46
5.6.170.0150.02617.33
5.6.160.0050.02317.45
5.6.150.0030.02216.29
5.6.140.0080.02316.25
5.6.130.0100.02716.26
5.6.120.0050.02317.71
5.6.110.0020.03117.80
5.6.100.0080.02817.63
5.6.90.0050.04917.76
5.6.80.0080.03517.23
5.6.70.0040.01214.14
5.6.60.0030.01114.33
5.6.50.0080.00414.21
5.6.40.0040.01114.32
5.6.30.0050.00814.66
5.6.20.0030.00914.41
5.6.10.0000.00814.10
5.6.00.0060.00614.36
5.5.380.0000.01211.13
5.5.370.0030.00511.27
5.5.360.0060.00311.38
5.5.350.0150.03815.87
5.5.340.0110.03814.64
5.5.330.0050.04415.72
5.5.320.0900.02215.79
5.5.310.0160.03815.80
5.5.300.0030.03614.55
5.5.290.0050.04714.62
5.5.280.0050.04515.95
5.5.270.0040.04516.15
5.5.260.0050.04015.94
5.5.250.0100.03715.82
5.5.240.0060.04115.59
5.5.230.0070.00311.23
5.5.220.0090.00311.18
5.5.210.0030.00711.05
5.5.200.0070.00410.97
5.5.190.0070.00311.12
5.5.180.0030.00711.28
5.5.170.0080.00814.30
5.5.160.0080.00310.88
5.5.150.0060.00311.26
5.5.140.0100.00011.25
5.5.130.0030.00311.41
5.5.120.0050.00011.19
5.5.110.0040.00711.02
5.5.100.0030.00311.18
5.5.90.0060.00611.25
5.5.80.0060.00311.13
5.5.70.0000.00611.02
5.5.60.0090.00311.36
5.5.50.0030.00910.98
5.5.40.0060.00011.27
5.5.30.0060.00311.33
5.5.20.0060.00611.22
5.5.10.0030.00311.04
5.5.00.0050.00211.32
5.4.450.0130.03015.16
5.4.440.0100.03315.43
5.4.430.0370.03115.14
5.4.420.0100.03315.24
5.4.410.0100.03415.04
5.4.400.0090.02814.99
5.4.390.0150.02514.70
5.4.380.0140.02614.93
5.4.370.0110.03614.84
5.4.360.0160.03214.91
5.4.350.0090.03614.91
5.4.340.0060.03115.04
5.4.330.0080.00811.14
5.4.320.0080.02111.87
5.4.310.0100.01811.78
5.4.300.0090.02311.90
5.4.290.0110.01911.66
5.4.280.0060.02511.79
5.4.270.0070.02411.75
5.4.260.0060.02311.84
5.4.250.0070.02111.70
5.4.240.0090.02011.83
5.4.230.0060.02411.70
5.4.220.0050.02611.71
5.4.210.0080.02011.59
5.4.200.0090.01911.65
5.4.190.0200.04711.72
5.4.180.0200.05811.74
5.4.170.0130.02511.58
5.4.160.0120.02611.67
5.4.150.0170.02111.79
5.4.140.0130.02311.51
5.4.130.0150.02411.58
5.4.120.0120.02711.49
5.4.110.0120.02711.53
5.4.100.0210.06211.66
5.4.90.0110.02411.53
5.4.80.0130.02411.63
5.4.70.0140.02611.56
5.4.60.0260.04511.60
5.4.50.0240.04311.52
5.4.40.0260.04311.48
5.4.30.0160.03511.58
5.4.20.0130.02411.44
5.4.10.0120.02411.54
5.4.00.0130.02411.29
5.3.290.0070.02311.74
5.3.280.0080.02011.52
5.3.270.0130.02711.58
5.3.260.0130.02711.67
5.3.250.0160.02511.63
5.3.240.0160.02511.62
5.3.230.0160.02511.47
5.3.220.0190.04911.57
5.3.210.0150.02311.53
5.3.200.0100.02811.49
5.3.190.0120.02611.58
5.3.180.0130.02211.65
5.3.170.0100.02511.70
5.3.160.0170.02111.64
5.3.150.0220.04411.66
5.3.140.0090.02611.62
5.3.130.0110.02511.66
5.3.120.0120.02411.60
5.3.110.0100.02511.60
5.3.100.0140.03611.33
5.3.90.0120.02211.31
5.3.80.0110.02511.20
5.3.70.0150.02111.22
5.3.60.0170.03511.22
5.3.50.0140.02411.24
5.3.40.0110.02511.24
5.3.30.0120.02211.25
5.3.20.0150.02311.15
5.3.10.0190.03111.00
5.3.00.0090.02510.85
5.2.170.0090.0209.39
5.2.160.0120.0349.42
5.2.150.0080.0229.40
5.2.140.0090.0199.36
5.2.130.0080.0219.35
5.2.120.0070.0209.36
5.2.110.0100.0229.21
5.2.100.0110.0189.30
5.2.90.0080.0219.18
5.2.80.0090.0209.23
5.2.70.0070.0239.14
5.2.60.0090.0349.20
5.2.50.0130.0329.22
5.2.40.0090.0219.28
5.2.30.0110.0189.28
5.2.20.0090.0209.20
5.2.10.0110.0188.94
5.2.00.0100.0198.84
5.1.60.0090.0178.29
5.1.50.0050.0208.31
5.1.40.0090.0158.34
5.1.30.0080.0198.57
5.1.20.0100.0168.58
5.1.10.0060.0198.39
5.1.00.0090.0178.33
5.0.50.0070.0147.43
5.0.40.0140.0207.36
5.0.30.0070.0217.27
5.0.20.0070.0157.26
5.0.10.0070.0147.25
5.0.00.0090.0207.25
4.4.90.0040.0116.51
4.4.80.0070.0136.50
4.4.70.0050.0116.49
4.4.60.0100.0236.49
4.4.50.0040.0146.50
4.4.40.0070.0186.47
4.4.30.0070.0116.50
4.4.20.0050.0126.54
4.4.10.0070.0116.54
4.4.00.0050.0176.50
4.3.110.0050.0096.45
4.3.100.0060.0106.45
4.3.90.0070.0096.43
4.3.80.0080.0146.41
4.3.70.0070.0106.43
4.3.60.0090.0216.43
4.3.50.0050.0106.43
4.3.40.0050.0156.38
4.3.30.0040.0115.77
4.3.20.0040.0115.77
4.3.10.0050.0095.75
4.3.00.0020.01010.81

preferences:
44.89 ms | 401 KiB | 5 Q