3v4l.org

run code in 500+ PHP versions simultaneously
<!--Array ( --> <!--[0] => Array ( [0] => 378b94ed20765e354ec9790832800ed6 ) --> <!--[1] => Array ( [0] => Offering5ce890ed7f11d [1] => house_rent ) --> <!--[2] => Array ( [0] => Offering5ce8935b812f6 [1] => house_sale ) --> <!--[3] => Array ( [0] => Offering5ce8f86bbda11 [1] => flat_sale ) --> <!--[4] => Array ( [0] => Offering5ce93dfdcae32 [1] => house_rent )--> <!--[5] => Array ( [0] => Offering5ce9411388315 [1] => flat_rent ) ) --> <?php $array = array( array( '378b94ed20765e354ec9790832800ed6', ), array( 'Offering5ce890ed7f11d', 'house_rent' ), array( 'Offering5ce8935b812f6', 'house_sale' ), array( 'Offering5ce8f86bbda11', 'flat_sale' ), array( 'Offering5ce9411388315', 'house_rent' ), ); print_r($array); if($array[1][1] == 'house_rent') { 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.5.30.0110.00719.61
8.5.20.0070.01121.19
8.5.10.0140.00516.83
8.5.00.0100.01019.95
8.4.180.0130.00919.61
8.4.170.0090.01320.42
8.4.160.0050.00523.93
8.4.150.0050.00716.88
8.4.140.0190.00717.66
8.4.130.0140.00618.60
8.4.120.0110.00824.02
8.4.110.0090.01017.98
8.4.100.0160.00517.60
8.4.90.0120.00920.52
8.4.80.0120.00918.75
8.4.70.0060.00622.43
8.4.60.0130.00718.63
8.4.50.0100.00117.62
8.4.40.0100.00719.39
8.4.30.0100.01020.62
8.4.20.0100.01020.66
8.4.10.0130.00619.34
8.3.300.0100.00722.61
8.3.290.0060.00320.70
8.3.280.0140.00718.31
8.3.270.0120.00816.31
8.3.260.0050.00316.64
8.3.250.0120.00518.73
8.3.240.0130.00616.56
8.3.230.0100.00916.46
8.3.220.0030.00518.84
8.3.210.0080.01216.65
8.3.200.0050.00316.66
8.3.190.0020.00618.80
8.3.180.0090.01016.71
8.3.170.0070.01118.68
8.3.160.0090.00918.49
8.3.150.0120.00617.26
8.3.140.0000.00816.72
8.3.130.0080.00818.36
8.3.120.0030.00718.73
8.3.110.0080.00020.94
8.3.100.0030.00524.06
8.3.90.0060.00326.77
8.3.80.0070.00316.63
8.3.70.0120.00318.30
8.3.60.0090.00616.48
8.3.50.0170.00517.35
8.3.40.0110.00718.84
8.3.30.0060.00818.67
8.3.20.0030.00720.77
8.3.10.0040.00419.32
8.3.00.0050.00321.90
8.2.300.0070.01522.19
8.2.290.0100.00916.48
8.2.280.0100.00520.23
8.2.270.0110.00717.43
8.2.260.0040.00418.90
8.2.250.0000.00818.83
8.2.240.0090.00018.95
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0000.00826.77
8.2.200.0040.00416.34
8.2.190.0150.00316.75
8.2.180.0090.00625.92
8.2.170.0110.00418.73
8.2.160.0040.01222.96
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0100.00019.37
8.2.100.0030.01017.72
8.2.90.0030.00517.97
8.2.80.0050.00317.97
8.2.70.0030.00617.93
8.2.60.0000.00918.16
8.2.50.0040.00418.10
8.2.40.0040.00421.03
8.2.30.0050.00219.17
8.2.20.0040.00417.96
8.2.10.0070.00018.86
8.2.00.0070.00019.37
8.1.340.0110.00917.80
8.1.330.0060.00616.33
8.1.320.0140.00818.06
8.1.310.0040.00416.89
8.1.300.0060.00317.95
8.1.290.0090.00030.84
8.1.280.0110.00725.92
8.1.270.0040.00422.25
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0030.00920.83
8.1.230.0090.00320.95
8.1.220.0040.00417.74
8.1.210.0050.00318.97
8.1.200.0000.00917.35
8.1.190.0050.00317.38
8.1.180.0050.00318.10
8.1.170.0060.00318.64
8.1.160.0070.00018.93
8.1.150.0020.00518.81
8.1.140.0040.00418.76
8.1.130.0040.00420.09
8.1.120.0000.00717.35
8.1.110.0050.00317.45
8.1.100.0080.00017.43
8.1.90.0080.00017.41
8.1.80.0000.00817.42
8.1.70.0000.00817.43
8.1.60.0000.00817.58
8.1.50.0000.00817.47
8.1.40.0090.00317.51
8.1.30.0050.00317.69
8.1.20.0060.00317.24
8.1.10.0040.00417.59
8.1.00.0000.00717.39
8.0.300.0000.00919.89
8.0.290.0030.00616.63
8.0.280.0030.00318.43
8.0.270.0030.00317.13
8.0.260.0070.00018.41
8.0.250.0030.00316.84
8.0.240.0030.00616.93
8.0.230.0040.00416.93
8.0.220.0000.00616.85
8.0.210.0040.00416.82
8.0.200.0040.00416.90
8.0.190.0050.00216.84
8.0.180.0000.00716.74
8.0.170.0080.00016.73
8.0.160.0080.00016.72
8.0.150.0000.00716.66
8.0.140.0000.00716.77
8.0.130.0060.00013.29
8.0.120.0020.00516.79
8.0.110.0050.00316.95
8.0.100.0080.00016.80
8.0.90.0000.00816.69
8.0.80.0080.00816.85
8.0.70.0070.00016.76
8.0.60.0000.00716.73
8.0.50.0070.00016.70
8.0.30.0100.01216.97
8.0.20.0110.00817.15
8.0.10.0020.00516.88
8.0.00.0090.01016.82
7.4.330.0050.00015.55
7.4.320.0030.00316.51
7.4.300.0060.00016.50
7.4.290.0040.00416.50
7.4.280.0000.00816.44
7.4.270.0000.00716.58
7.4.260.0000.00716.52
7.4.250.0070.00016.49
7.4.240.0030.00616.61
7.4.230.0040.00416.39
7.4.220.0020.00516.40
7.4.210.0090.00916.55
7.4.200.0040.00416.50
7.4.160.0130.00516.49
7.4.130.0150.00316.50
7.4.120.0120.00816.45
7.4.110.0100.01416.64
7.4.100.0140.00316.48
7.4.90.0110.00616.55
7.4.80.0150.00619.39
7.4.70.0160.00616.63
7.4.60.0090.01216.48
7.4.50.0070.01116.35
7.4.40.0140.00316.29
7.4.00.0100.00714.71
7.3.330.0000.00613.12
7.3.320.0030.00313.01
7.3.310.0000.00716.30
7.3.300.0050.00216.27
7.3.290.0090.00916.19
7.3.280.0070.00916.15
7.3.260.0110.00616.39
7.3.230.0030.01716.29
7.3.210.0080.01216.31
7.3.200.0100.00616.62
7.3.190.0120.00316.32
7.3.180.0030.01216.60
7.3.170.0070.01316.38
7.3.160.0080.00916.44
7.3.50.0100.01314.51
7.3.40.0050.00814.47
7.3.30.0130.00614.71
7.3.20.0130.01014.80
7.3.10.0070.01014.61
7.3.00.0860.00614.68
7.2.330.0030.01516.58
7.2.320.0090.01216.70
7.2.310.0130.01316.63
7.2.300.0130.00816.46
7.2.290.0050.01616.45
7.2.180.0070.00714.96
7.2.170.0030.01014.89
7.2.160.0120.00914.79
7.2.150.0110.01414.90
7.2.140.0110.00714.87
7.2.130.0070.00715.07
7.2.120.0030.01014.85
7.2.110.0070.01014.71
7.2.100.0120.00615.02
7.2.90.0120.00614.84
7.2.80.0120.00614.83
7.2.70.0100.00714.95
7.2.60.0100.00314.95
7.2.50.0070.00714.88
7.2.40.0190.00815.00
7.2.30.0170.01014.88
7.2.20.0170.01315.15
7.2.10.0150.00615.18
7.2.00.0130.01215.06
7.1.280.0220.01013.87
7.1.270.0040.01113.89
7.1.260.0080.00814.09
7.1.250.0160.00313.91

preferences:
47.24 ms | 1616 KiB | 5 Q