3v4l.org

run code in 300+ PHP versions simultaneously
<?php # SET DATABASE VARIABLES $ROOT="/var/www/picardo/"; $DB_USER ="masscom"; $DB_PASSWORD="p1x1e1"; $DB_TYPE="mysql"; $DB_HOST="127.0.0.1"; $DBASE="lipsvc"; # Modified by nathan@webr3.org $port_open = shell_exec("netstat -tulpn | grep 3309"); // check if ssh tunnel is open if(!$port_open) { // if not open shell_exec("echo 'pixie1234' | sudo -S ssh -f -L 3309:127.0.0.1:3306 root@72.93.87.15 -p 8022 -N >> logfile"); // reopen ssh tunnel usleep(500000); // apply half second grace period to allow connection to be established } $STYLESHEET=$ROOT."/styles/style.css"; //transaction variables may be set here $apps= $_REQUEST[apps]; $acctid = $_REQUEST[acctid]; ?>

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.0130.00718.43
8.3.50.0090.01421.28
8.3.40.0110.01118.58
8.3.30.0070.01018.84
8.3.20.0070.00420.21
8.3.10.0070.00423.49
8.3.00.0040.00719.69
8.2.180.0100.01018.29
8.2.170.0090.01022.96
8.2.160.0070.01120.29
8.2.150.0000.00924.18
8.2.140.0070.00324.66
8.2.130.0030.00726.16
8.2.120.0040.00817.63
8.2.110.0130.00021.00
8.2.100.0060.00717.63
8.2.90.0100.00019.33
8.2.80.0030.00717.97
8.2.70.0090.00017.75
8.2.60.0000.00918.03
8.2.50.0060.00318.07
8.2.40.0030.00619.45
8.2.30.0030.00719.96
8.2.20.0000.00817.70
8.2.10.0030.00618.17
8.2.00.0060.00318.20
8.1.280.0070.01525.92
8.1.270.0060.00620.27
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0140.00019.24
8.1.230.0000.01217.48
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.48
8.1.190.0040.00417.35
8.1.180.0000.00918.10
8.1.170.0030.00618.71
8.1.160.0080.00022.13
8.1.150.0030.00619.01
8.1.140.0060.00417.58
8.1.130.0050.00317.82
8.1.120.0060.00317.55
8.1.110.0050.00517.60
8.1.100.0050.00317.49
8.1.90.0030.00617.43
8.1.80.0000.00917.56
8.1.70.0030.00517.48
8.1.60.0000.00917.52
8.1.50.0060.00317.65
8.1.40.0030.00817.57
8.1.30.0030.00617.60
8.1.20.0000.00917.70
8.1.10.0000.00917.66
8.1.00.0080.00017.41
8.0.300.0000.00918.77
8.0.290.0100.00316.75
8.0.280.0000.00718.39
8.0.270.0070.00017.34
8.0.260.0070.00017.32
8.0.250.0040.00417.00
8.0.240.0000.00717.07
8.0.230.0080.00017.03
8.0.220.0030.00616.88
8.0.210.0000.00816.93
8.0.200.0040.00416.89
8.0.190.0030.00917.04
8.0.180.0040.00816.88
8.0.170.0060.00316.98
8.0.160.0060.00316.97
8.0.150.0060.00316.78
8.0.140.0030.00616.94
8.0.130.0030.00413.46
8.0.120.0060.00316.81
8.0.110.0000.00916.90
8.0.100.0000.00917.02
8.0.90.0060.00316.89
8.0.80.0140.01116.91
8.0.70.0050.00316.76
8.0.60.0080.00016.86
8.0.50.0080.00016.84
8.0.30.0090.01117.05
8.0.20.0180.00717.40
8.0.10.0050.00317.13
8.0.00.0090.01116.75
7.4.330.0050.00015.08
7.4.320.0040.00416.54
7.4.300.0000.00716.63
7.4.290.0050.00316.53
7.4.280.0000.00816.56
7.4.270.0080.00016.48
7.4.260.0040.00416.51
7.4.250.0030.00616.46
7.4.240.0020.00616.48
7.4.230.0030.00616.68
7.4.220.0120.01016.54
7.4.210.0090.00816.52
7.4.200.0050.00516.61
7.4.160.0060.01216.57
7.4.150.0130.01517.40
7.4.140.0140.00717.86
7.4.130.0120.00916.55
7.4.120.0120.00716.60
7.4.110.0120.00716.50
7.4.100.0180.00716.43
7.4.90.0140.00816.46
7.4.80.0090.01019.39
7.4.70.0060.01316.68
7.4.60.0100.00816.39
7.4.50.0060.00016.44
7.4.40.0030.01716.51
7.4.30.0080.01616.57
7.4.10.0050.01815.14
7.4.00.0090.01015.00
7.3.330.0060.00013.08
7.3.320.0000.00613.08
7.3.310.0070.00416.43
7.3.300.0000.00816.16
7.3.290.0040.00416.16
7.3.280.0060.01316.33
7.3.270.0120.01417.40
7.3.260.0130.01216.29
7.3.250.0090.01116.51
7.3.240.0140.00416.68
7.3.230.0110.00916.57
7.3.210.0130.00516.39
7.3.200.0070.01116.53
7.3.190.0030.01916.64
7.3.180.0070.01116.52
7.3.170.0000.01716.42
7.3.160.0110.00816.67
7.3.130.0150.00614.65
7.3.120.0090.01214.96
7.3.110.0080.01114.76
7.3.100.0080.01114.84
7.3.90.0090.00914.95
7.3.80.0080.01214.96
7.3.70.0130.00714.74
7.3.60.0090.01114.96
7.3.50.0050.01214.82
7.3.40.0070.01414.68
7.3.30.0090.00914.81
7.3.20.0080.01216.83
7.3.10.0100.01016.79
7.3.00.0090.01216.73
7.2.330.0170.00316.55
7.2.320.0120.00716.54
7.2.310.0070.01216.84
7.2.300.0150.00416.79
7.2.290.0080.01216.71
7.2.260.0070.01415.04
7.2.250.0120.01015.17
7.2.240.0060.01414.94
7.2.230.0080.01215.17
7.2.220.0100.01015.07
7.2.210.0080.01014.99
7.2.200.0070.01215.01
7.2.190.0100.00815.08
7.2.180.0100.00815.02
7.2.170.0080.01214.99
7.2.160.0150.00414.96
7.2.150.0030.01716.75
7.2.140.0060.01016.90
7.2.130.0080.01116.98
7.2.120.0100.01417.12
7.2.110.0230.01016.75
7.2.100.0160.00716.75
7.2.90.0070.01817.16
7.2.80.0090.01016.86
7.2.70.0130.01117.16
7.2.60.0070.01417.09
7.2.50.0180.00516.79
7.2.40.0120.01017.10
7.2.30.0030.02117.04
7.2.20.0090.01317.00
7.2.10.0060.01416.98
7.2.00.0100.00718.37
7.1.330.0100.01015.95
7.1.320.0090.00715.79
7.1.310.0080.01115.86
7.1.300.0070.01115.65
7.1.290.0050.01615.65
7.1.280.0100.00915.63
7.1.270.0100.01115.71
7.1.260.0110.00915.75
7.1.250.0100.00815.82
7.1.240.0090.01315.78
7.1.230.0070.01415.92
7.1.220.0080.01215.54
7.1.210.0060.01415.86
7.1.200.0080.01215.85
7.1.190.0110.00815.82
7.1.180.0060.01415.97
7.1.170.0110.00815.92
7.1.160.0110.00815.78
7.1.150.0070.01415.98
7.1.140.0060.01315.61
7.1.130.0070.01215.57
7.1.120.0060.01615.82
7.1.110.0090.01015.91
7.1.100.0080.00916.83
7.1.90.0070.01515.97
7.1.80.0100.01115.72
7.1.70.0080.00716.31
7.1.60.0020.01517.51
7.1.50.0080.01216.58
7.1.40.0090.01015.89
7.1.30.0120.00615.78
7.1.20.0110.00815.82
7.1.10.0070.01015.79
7.1.00.0070.04419.18
7.0.330.0070.01415.41
7.0.320.0090.01015.30
7.0.310.0120.00715.37
7.0.300.0040.01615.41
7.0.290.0070.01315.17
7.0.280.0090.00915.45
7.0.270.0100.00815.51
7.0.260.0040.01915.33
7.0.250.0140.00415.19
7.0.240.0100.01115.60
7.0.230.0100.01115.52
7.0.220.0100.01015.21
7.0.210.0060.01415.51
7.0.200.0070.01115.96
7.0.190.0070.01515.39
7.0.180.0110.00715.64
7.0.170.0100.01015.25
7.0.160.0150.00415.60
7.0.150.0170.00115.37
7.0.140.0100.01015.14
7.0.130.0100.01015.09
7.0.120.0120.00615.53
7.0.110.0120.00715.51
7.0.100.0090.01015.50
7.0.90.0100.01015.50
7.0.80.0070.01415.20
7.0.70.0060.01315.45
7.0.60.0050.04517.76
7.0.50.0080.03216.64
7.0.40.0100.04716.89
7.0.30.0350.03916.65
7.0.20.0200.04616.94
7.0.10.0130.04516.81
7.0.00.0090.04916.73
5.6.400.0070.01414.77
5.6.390.0040.01914.25
5.6.380.0140.00814.51
5.6.370.0130.01114.17
5.6.360.0090.01214.49
5.6.350.0090.01314.55
5.6.340.0140.00914.66
5.6.330.0060.01314.50
5.6.320.0150.00414.48
5.6.310.0120.01014.47
5.6.300.0040.01614.59
5.6.290.0030.01714.73
5.6.280.0040.02617.79
5.6.270.0000.01914.36
5.6.260.0160.00414.65
5.6.250.0160.00714.45
5.6.240.0090.01314.62
5.6.230.0040.01914.55
5.6.220.0040.01614.38
5.6.210.0090.05017.48
5.6.200.0090.03316.44
5.6.190.0090.03117.59
5.6.180.0150.04917.47
5.6.170.0160.02317.62
5.6.160.0080.05017.58
5.6.150.0130.03516.40
5.6.140.0070.02616.25
5.6.130.0040.03216.40
5.6.120.0080.05017.71
5.6.110.0090.04717.77
5.6.100.0050.03817.74
5.6.90.0030.03017.80
5.6.80.0080.04117.58
5.6.70.2250.02917.34
5.6.60.0040.01514.45
5.6.50.0140.00714.54
5.6.40.0060.01514.35
5.6.30.0030.01714.11
5.6.20.0120.00814.38
5.6.10.0090.00914.21
5.6.00.0080.01114.40
5.5.380.0090.01014.45
5.5.370.0050.01414.62
5.5.360.0110.00814.48
5.5.350.0080.04717.54
5.5.340.0050.02716.14
5.5.330.0100.04717.53
5.5.320.0200.02917.44
5.5.310.0170.04517.33
5.5.300.0090.04716.10
5.5.290.0020.03516.27
5.5.280.0100.04817.55
5.5.270.0100.04217.82
5.5.260.0080.03017.57
5.5.250.0060.02617.27
5.5.240.0080.04517.42
5.5.230.0110.01214.18
5.5.220.0070.01514.46
5.5.210.0130.01014.39
5.5.200.0130.00414.34
5.5.190.0070.01414.55
5.5.180.0090.01314.32
5.5.170.0170.00414.51
5.5.160.0110.00814.33
5.5.150.0000.01814.43
5.5.140.0120.00813.93
5.5.130.0080.01113.87
5.5.120.0110.01114.26
5.5.110.0050.01314.61
5.5.100.0140.00414.34
5.5.90.0120.00814.30
5.5.80.0130.00714.45
5.5.70.0160.00414.54
5.5.60.0150.00714.16
5.5.50.0100.01113.80
5.5.40.0080.01214.13
5.5.30.0090.01014.24
5.5.20.0070.01414.17
5.5.10.0100.00714.11
5.5.00.0110.01214.50
5.4.450.0150.04415.26
5.4.440.0070.04315.20
5.4.430.0320.03515.41
5.4.420.0340.03015.31
5.4.410.0300.03415.18
5.4.400.0350.03215.11
5.4.390.0300.03715.03
5.4.380.0370.03415.11
5.4.370.0310.03315.09
5.4.360.0420.04415.12
5.4.350.0410.03915.11
5.4.340.0430.03815.09
5.4.330.0000.01411.16
5.4.320.0430.03015.07
5.4.310.0400.03515.05
5.4.300.0320.03915.02
5.4.290.0330.03314.82
5.4.280.0330.03615.18
5.4.270.0280.03015.15
5.4.260.0170.02514.90
5.4.250.0430.03214.90
5.4.240.0450.04014.94
5.4.230.0300.03715.05
5.4.220.0330.03314.79
5.4.210.0280.03515.21
5.4.200.0280.03415.02
5.4.190.0360.03115.13
5.4.180.0400.04214.92
5.4.170.0300.03214.98
5.4.160.0310.03215.19
5.4.150.0500.03714.96
5.4.140.0300.04113.71
5.4.130.0320.03013.77
5.4.120.0280.03013.84
5.4.110.0280.03213.75
5.4.100.0360.02713.61
5.4.90.0300.03313.71
5.4.80.0400.03213.81
5.4.70.0100.03713.86
5.4.60.0140.02813.79
5.4.50.0070.03613.58
5.4.40.0060.03213.48
5.4.30.0030.04513.61
5.4.20.0020.04613.68
5.4.10.0060.01010.94
5.4.00.0060.01010.86

preferences:
44.8 ms | 401 KiB | 5 Q