3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'system' => [ 'GUI' => array( 'enabled' => true, 'password' => '', ), 'Constants' => array( 'URL_QUERYSTRING' => true, 'ERRORS_TO_EXCEPTIONS' => true, 'DEBUG_MODE' => true, ), 'Benchmark' => array( 'enabled' => false, ), 'Translations' => array( 'db_connection' => 'Default', 'table_name' => array( 'languages' => 'languages', 'translations' => 'translations', ), ), 'Spam' => array( 'honeypot_names' => array( 0 => 'name1', 1 => 'name2', 2 => 'name3', 3 => 'name4', 4 => 'name5', 5 => 'name6', ), ), 'Response' => array( 'supported' => array( 0 => 'text/html', 1 => 'application/json', ), ),] ); function arr(){ global $data; return $data; } arr()['system']['Translations']['table_name']['languages'];

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.0090.00618.38
8.3.50.0090.01217.81
8.3.40.0150.00018.58
8.3.30.0000.01418.91
8.3.20.0000.00820.15
8.3.10.0000.00721.95
8.3.00.0050.00219.01
8.2.180.0110.00416.50
8.2.170.0110.00422.96
8.2.160.0070.00722.11
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0030.00717.91
8.2.110.0030.00622.27
8.2.100.0070.00819.45
8.2.90.0000.00719.09
8.2.80.0000.00817.97
8.2.70.0030.00517.75
8.2.60.0030.00517.77
8.2.50.0090.00018.07
8.2.40.0040.00417.97
8.2.30.0080.00017.98
8.2.20.0000.00717.68
8.2.10.0060.00318.00
8.2.00.0070.00017.61
8.1.280.0140.00325.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0040.00423.83
8.1.230.0070.00319.23
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0040.00417.23
8.1.180.0070.00018.10
8.1.170.0000.00818.52
8.1.160.0040.00421.82
8.1.150.0040.00418.82
8.1.140.0040.00419.12
8.1.130.0000.00717.88
8.1.120.0020.00517.41
8.1.110.0040.00417.29
8.1.100.0040.00417.35
8.1.90.0000.00817.40
8.1.80.0000.00817.26
8.1.70.0000.00717.45
8.1.60.0000.00817.55
8.1.50.0060.00317.51
8.1.40.0080.00417.52
8.1.30.0060.00317.58
8.1.20.0030.00517.59
8.1.10.0000.00817.57
8.1.00.0000.00817.34
8.0.300.0070.00018.77
8.0.290.0040.00416.59
8.0.280.0040.00418.38
8.0.270.0030.00317.06
8.0.260.0030.00317.25
8.0.250.0030.00316.93
8.0.240.0030.00316.78
8.0.230.0050.00516.87
8.0.220.0000.00716.69
8.0.210.0030.00316.85
8.0.200.0030.00316.75
8.0.190.0000.00716.80
8.0.180.0000.00716.86
8.0.170.0040.00416.81
8.0.160.0000.00716.85
8.0.150.0070.00016.70
8.0.140.0030.00416.81
8.0.130.0030.00313.23
8.0.120.0000.00716.78
8.0.110.0050.00216.82
8.0.100.0000.00716.89
8.0.90.0050.00216.80
8.0.80.0100.01016.75
8.0.70.0000.00816.70
8.0.60.0040.00416.73
8.0.50.0000.00716.71
8.0.30.0180.00417.15
8.0.20.0130.00617.40
8.0.10.0000.00716.73
8.0.00.0110.00616.72
7.4.330.0020.00215.08
7.4.320.0030.00316.39
7.4.300.0030.00316.39
7.4.290.0030.00316.59
7.4.280.0000.00716.41
7.4.270.0070.00016.64
7.4.260.0000.00716.50
7.4.250.0000.00816.44
7.4.240.0000.00716.50
7.4.230.0000.00716.25
7.4.220.0090.00916.63
7.4.210.0030.01116.54
7.4.200.0030.00316.69
7.4.160.0120.00316.42
7.4.150.0180.00017.40
7.4.140.0100.01017.86
7.4.130.0090.01116.35
7.4.120.0130.00616.40
7.4.110.0070.01116.19
7.4.100.0040.01416.45
7.4.90.0100.00716.57
7.4.80.0120.00919.39
7.4.70.0130.01016.32
7.4.60.0100.01316.45
7.4.50.0000.00416.26
7.4.40.0080.01116.68
7.4.30.0110.00716.44
7.4.00.0130.00014.98
7.3.330.0050.00013.06
7.3.320.0000.00613.31
7.3.310.0050.00316.29
7.3.300.0000.00616.30
7.3.290.0050.00916.36
7.3.280.0070.00816.30
7.3.270.0060.01517.40
7.3.260.0060.01016.31
7.3.250.0050.01316.28
7.3.240.0080.01216.24
7.3.230.0110.01116.39
7.3.210.0140.00316.45
7.3.200.0080.00819.39
7.3.190.0130.00316.33
7.3.180.0130.00316.28
7.3.170.0080.01516.44
7.3.160.0130.00716.52
7.2.330.0070.01116.36
7.2.320.0090.01316.54
7.2.310.0130.00316.54
7.2.300.0100.00616.57
7.2.290.0110.00716.59
7.2.00.0070.01019.32
7.1.100.0000.00818.00
7.1.70.0000.00917.13
7.1.60.0180.00719.46
7.1.50.0110.01116.89
7.1.00.0130.06722.33
7.0.200.0070.00016.71
7.0.140.0030.03321.92
7.0.60.0070.07719.93
7.0.50.0070.08317.88
7.0.40.0000.09020.20
7.0.30.0130.05320.24
7.0.20.0300.04720.32
7.0.10.0070.08720.19
7.0.00.0130.07320.10
5.6.280.0000.07721.02
5.6.210.0130.05320.69
5.6.200.0000.06018.16
5.6.190.0100.05720.57
5.6.180.3600.04020.48
5.6.170.0200.04320.54
5.6.160.0030.09020.57
5.6.150.0000.08718.19
5.6.140.0000.04318.16
5.6.130.0000.04718.28
5.6.120.0130.07721.02
5.6.110.0170.07021.02
5.6.100.0070.08720.96
5.6.90.0130.08021.09
5.6.80.0070.06320.38
5.6.70.4300.04020.54
5.5.350.0330.09320.52
5.5.340.0100.07717.98
5.5.330.0130.08320.21
5.5.320.0200.07020.32
5.5.310.0270.08020.43
5.5.300.0130.07317.92
5.5.290.0070.08017.94
5.5.280.0130.05720.77
5.5.270.0030.08320.77
5.5.260.0100.08020.87
5.5.250.0030.08720.67
5.5.240.0330.06720.36
5.4.450.0230.05719.20
5.4.440.0200.07019.16
5.4.430.0070.05719.32
5.4.420.0100.05319.35
5.4.410.0130.06019.52
5.4.400.0100.05319.16
5.4.390.0970.05318.55
5.4.380.1100.07018.84
5.4.370.1130.06318.80
5.4.360.1070.06318.76
5.4.350.1000.06018.47
5.4.340.1000.04318.75
5.4.320.0870.06018.79
5.4.310.0870.05318.75
5.4.300.0830.05718.78
5.4.290.1000.05018.46
5.4.280.0870.06318.73
5.4.270.1070.07318.57
5.4.260.0970.06718.74
5.4.250.0900.06318.65
5.4.240.0930.05718.50
5.4.230.0900.05318.77
5.4.220.1030.07718.82
5.4.210.1030.07018.73
5.4.200.0730.05016.75
5.4.190.0970.06718.76
5.4.180.0870.05718.61
5.4.170.1030.05318.83
5.4.160.0970.05318.83
5.4.150.0970.04718.49
5.4.140.0970.07316.28
5.4.130.0770.06316.43
5.4.120.0900.05016.30
5.4.110.0830.06316.18
5.4.100.0970.05316.29
5.4.90.0770.06016.34
5.4.80.1070.05016.42
5.4.70.0970.05016.40
5.4.60.0830.05316.40
5.4.50.0870.05316.41
5.4.40.0900.05016.23
5.4.30.0930.04316.27
5.4.20.0930.04716.20
5.4.10.0900.05316.16
5.4.00.0770.05715.71
5.3.290.0770.06014.70
5.3.280.0870.05714.51
5.3.270.0900.06314.55
5.3.260.0930.05714.55
5.3.250.0800.05714.52
5.3.240.0830.05314.64
5.3.230.0630.06314.55
5.3.220.0930.03714.60
5.3.210.0730.05714.62
5.3.200.0930.07314.48
5.3.190.0970.06714.46
5.3.180.1000.06714.54
5.3.170.0870.08014.65
5.3.160.0900.06714.48
5.3.150.0700.05714.48
5.3.140.0700.05014.53
5.3.130.0870.04714.50
5.3.120.0970.08014.53
5.3.110.1100.06714.58
5.3.100.1030.07013.97
5.3.90.1100.06313.95
5.3.80.1130.05314.09
5.3.70.1000.07013.98
5.3.60.1030.06713.91
5.3.50.1070.06013.92
5.3.40.0800.05313.93
5.3.30.0770.04713.84
5.3.20.1030.06013.58
5.3.10.1030.04313.60
5.3.00.0970.05013.61
5.2.170.0570.07011.19
5.2.160.0100.04011.18
5.2.150.0170.05311.15
5.2.140.0030.06311.27
5.2.130.0130.04311.01
5.2.120.0700.04011.14
5.2.110.0830.05311.05
5.2.100.0870.05011.02
5.2.90.0900.05311.04
5.2.80.0800.06011.13
5.2.70.0530.05711.05
5.2.60.0670.04310.99
5.2.50.0900.05311.16
5.2.40.0730.04010.91
5.2.30.0800.06310.93
5.2.20.0670.05310.96
5.2.10.0700.04310.84
5.2.00.0630.05010.70
5.1.60.0730.04310.02
5.1.50.0700.0439.95
5.1.40.0730.04310.05
5.1.30.0700.05010.39
5.1.20.0570.05010.34
5.1.10.0630.04010.16
5.1.00.0570.04310.10
5.0.50.0400.0238.57
5.0.40.0300.0278.44
5.0.30.0330.0408.26
5.0.20.0330.0238.32
5.0.10.0300.0278.15
5.0.00.0270.0508.17
4.4.90.0300.0305.82
4.4.80.0330.0235.89
4.4.70.0300.0275.92
4.4.60.0470.0275.89
4.4.50.0330.0205.90
4.4.40.0300.0405.91
4.4.30.0400.0175.88
4.4.20.0370.0135.93
4.4.10.0300.0275.88
4.4.00.0300.0335.85
4.3.110.0370.0175.84
4.3.100.0300.0305.84
4.3.90.0330.0175.78
4.3.80.0300.0375.82
4.3.70.0300.0205.82
4.3.60.0200.0275.88
4.3.50.0370.0275.79
4.3.40.0300.0335.86
4.3.30.0170.0304.59
4.3.20.0170.0304.64
4.3.10.0170.0304.59
4.3.00.0030.0238.39

preferences:
46.94 ms | 400 KiB | 5 Q