3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* Example script that will import $born events into your Mixpanel projects for your existing users. Feel free to modify. If you have a high number of users you might want to use some sort of queing system instead of a sleep command to make sure that all the requests get sent propertly. */ /* Dummy Data: This array represents the data you would fetch from your own database that would have user_ids and the date you would like to set as their birthdate. Mixpanel will use this birthdate to determine their cohort. */ // zTripUserID,RegistrationDate,RegistrationZipCode,LastBookingDate $users = array( array(1177307,1399334400,90048,1427846400), array(1171746,1420070400,90048,1422748800) ); date_default_timezone_set("America/New_York"); //set for the timezone your sign up data is using. //Constructer: new EventImporter("Project Token","Project API Key"); //Both these values are on your mixpanel accounts page: http://mixpanel.com/account/ ?>

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.0170.00316.38
8.3.50.0060.01518.31
8.3.40.0060.00918.59
8.3.30.0000.01418.90
8.3.20.0040.00420.29
8.3.10.0070.00021.62
8.3.00.0060.00617.09
8.2.180.0140.00717.93
8.2.170.0100.00718.96
8.2.160.0100.00322.96
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0030.00619.24
8.2.110.0040.00722.29
8.2.100.0090.00317.63
8.2.90.0000.00819.23
8.2.80.0050.00317.97
8.2.70.0080.00017.50
8.2.60.0020.00518.03
8.2.50.0040.00418.07
8.2.40.0040.00419.76
8.2.30.0070.00017.98
8.2.20.0040.00417.63
8.2.10.0030.00617.96
8.2.00.0050.00317.55
8.1.280.0040.01125.92
8.1.270.0000.00820.21
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00323.85
8.1.230.0070.01017.42
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0070.00417.22
8.1.190.0070.00017.10
8.1.180.0060.00318.10
8.1.170.0000.00820.46
8.1.160.0080.00021.97
8.1.150.0030.00318.78
8.1.140.0020.00517.45
8.1.130.0030.00317.88
8.1.120.0000.00817.36
8.1.110.0000.00717.37
8.1.100.0040.00417.37
8.1.90.0040.00417.34
8.1.80.0070.00017.48
8.1.70.0000.00717.43
8.1.60.0040.00417.55
8.1.50.0000.00817.34
8.1.40.0040.00417.44
8.1.30.0030.00617.62
8.1.20.0050.00217.49
8.1.10.0080.00017.39
8.1.00.0080.00017.39
8.0.300.0070.00018.77
8.0.290.0040.00416.58
8.0.280.0030.00318.38
8.0.270.0070.00017.18
8.0.260.0000.00617.11
8.0.250.0030.00316.95
8.0.240.0000.00816.87
8.0.230.0030.00316.73
8.0.220.0000.00716.72
8.0.210.0070.00016.88
8.0.200.0030.00316.77
8.0.190.0000.00716.89
8.0.180.0030.00516.75
8.0.170.0040.00416.76
8.0.160.0030.00616.80
8.0.150.0000.00816.82
8.0.140.0070.00016.69
8.0.130.0030.00313.27
8.0.120.0050.00216.77
8.0.110.0070.00016.80
8.0.100.0040.00416.76
8.0.90.0040.00416.78
8.0.80.0090.00616.79
8.0.70.0000.00716.82
8.0.60.0040.00416.84
8.0.50.0060.00316.69
8.0.30.0130.01216.97
8.0.20.0100.01017.40
8.0.10.0040.00417.04
8.0.00.0120.00816.59
7.4.330.0030.00315.03
7.4.320.0000.00616.48
7.4.300.0000.00616.54
7.4.290.0070.00016.57
7.4.280.0070.00016.54
7.4.270.0000.00716.53
7.4.260.0070.00016.54
7.4.250.0000.00716.29
7.4.240.0050.00316.36
7.4.230.0000.00716.34
7.4.220.0190.00316.39
7.4.210.0070.00816.41
7.4.200.0000.00716.43
7.4.160.0100.00616.37
7.4.150.0170.00317.40
7.4.140.0060.01717.86
7.4.130.0090.01316.51
7.4.120.0120.00516.46
7.4.110.0080.01116.47
7.4.100.0140.00316.51
7.4.90.0120.00616.37
7.4.80.0110.01119.39
7.4.70.0070.01016.48
7.4.60.0060.00916.39
7.4.50.0000.00416.52
7.4.40.0130.00716.50
7.4.30.0100.00916.36
7.4.10.0130.00314.87
7.4.00.0110.00714.85
7.3.330.0000.00513.00
7.3.320.0130.00013.04
7.3.310.0030.00316.19
7.3.300.0030.00316.11
7.3.290.0030.00316.15
7.3.280.0060.00816.14
7.3.270.0090.00917.40
7.3.260.0130.00316.34
7.3.250.0100.00716.31
7.3.240.0060.01216.12
7.3.230.0120.00916.39
7.3.210.0120.00616.15
7.3.200.0060.01819.39
7.3.190.0130.00316.34
7.3.180.0110.00716.12
7.3.170.0060.01016.27
7.3.160.0030.01416.24
7.3.130.0100.01014.72
7.3.120.0130.00314.73
7.3.110.0030.01414.45
7.3.100.0150.00014.64
7.3.90.0080.00814.84
7.3.80.0030.00714.49
7.3.70.0090.00014.52
7.3.60.0060.00914.57
7.3.50.0040.01414.66
7.3.40.0060.00614.70
7.3.30.0070.00414.58
7.3.20.0100.00716.56
7.3.10.0080.00316.30
7.3.00.0070.00716.57
7.2.330.0090.01516.17
7.2.320.0030.01416.61
7.2.310.0070.01016.42
7.2.300.0100.00616.21
7.2.290.0070.01116.33
7.2.260.0000.01614.77
7.2.250.0180.00014.93
7.2.240.0030.01414.68
7.2.230.0070.00715.08
7.2.220.0030.01314.75
7.2.210.0090.00614.71
7.2.200.0070.00714.57
7.2.190.0090.00614.80
7.2.180.0140.00414.78
7.2.170.0030.00914.58
7.2.160.0070.01014.76
7.2.150.0130.00316.91
7.2.140.0070.00716.53
7.2.130.0050.00516.67
7.2.120.0040.01116.75
7.2.110.0040.00416.79
7.2.100.0130.00316.58
7.2.90.0130.00016.85
7.2.80.0070.01116.74
7.2.70.0100.00316.75
7.2.60.0040.01416.77
7.2.50.0060.01016.82
7.2.40.0070.00416.84
7.2.30.0070.00716.79
7.2.20.0060.00616.57
7.2.10.0000.01316.46
7.2.00.0030.01018.00
7.1.330.0070.00715.66
7.1.320.0040.00715.68
7.1.310.0090.00615.64
7.1.300.0040.01215.44
7.1.290.0070.00715.66
7.1.280.0070.00415.51
7.1.270.0100.00715.61
7.1.260.0040.00715.71
7.1.250.0030.01015.64
7.1.240.0090.00315.59
7.1.230.0100.00315.59
7.1.220.0030.00815.82
7.1.210.0060.00915.75
7.1.200.0100.00315.78
7.1.190.0030.00715.61
7.1.180.0080.00515.57
7.1.170.0090.00315.66
7.1.160.0000.01215.27
7.1.150.0040.00815.73
7.1.140.0090.00315.80
7.1.130.0030.00615.66
7.1.120.0040.00715.57
7.1.110.0090.00615.89
7.1.100.0010.00716.76
7.1.90.0030.00615.81
7.1.80.0060.00615.67
7.1.70.0010.00916.26
7.1.60.0100.01017.66
7.1.50.0070.01016.06
7.1.40.0030.01015.84
7.1.30.0070.01015.65
7.1.20.0000.01315.61
7.1.10.0100.00015.82
7.1.00.0020.04419.07
7.0.330.0000.01015.45
7.0.320.0030.01015.35
7.0.310.0030.01015.27
7.0.300.0060.01015.31
7.0.290.0000.01015.30
7.0.280.0030.00915.18
7.0.270.0030.00615.27
7.0.260.0040.01115.32
7.0.250.0100.00315.42
7.0.240.0030.00615.07
7.0.230.0030.00915.44
7.0.220.0030.01015.42
7.0.210.0100.00315.30
7.0.200.0230.00515.04
7.0.190.0090.00615.31
7.0.180.0060.01015.32
7.0.170.0000.01315.12
7.0.160.0030.01215.43
7.0.150.0070.00715.39
7.0.140.0020.03018.62
7.0.130.0030.01015.26
7.0.120.0070.00715.23
7.0.110.0030.00715.36
7.0.100.0060.00315.32
7.0.90.0090.00615.20
7.0.80.0070.00715.44
7.0.70.0050.00815.13
7.0.60.0080.03717.55
7.0.50.0050.04616.62
7.0.40.0030.02616.77
7.0.30.0270.02516.79
7.0.20.0200.02516.89
7.0.10.0130.04316.69
7.0.00.0120.03716.73
5.6.400.0060.00314.39
5.6.390.0110.00414.48
5.6.380.0060.00614.23
5.6.370.0060.00314.28
5.6.360.0000.01514.07
5.6.350.0030.01014.39
5.6.340.0030.00914.52
5.6.330.0090.00314.18
5.6.320.0040.01214.42
5.6.310.0000.01214.21
5.6.300.0030.01214.42
5.6.290.0030.00614.25
5.6.280.0050.03817.58
5.6.270.0110.00414.17
5.6.260.0040.01114.38
5.6.250.0000.01014.08
5.6.240.0070.00714.21
5.6.230.0070.00714.10
5.6.220.0030.01014.27
5.6.210.0180.02917.33
5.6.200.0070.03716.25
5.6.190.0080.02317.37
5.6.180.0220.03417.36
5.6.170.0250.03817.25
5.6.160.0050.02417.32
5.6.150.0060.04116.21
5.6.140.0030.02716.34
5.6.130.0050.04516.28
5.6.120.0050.04417.60
5.6.110.0110.04217.61
5.6.100.0050.04617.47
5.6.90.0100.04017.51
5.6.80.0050.02817.10
5.6.70.0120.02617.25
5.6.60.0090.00014.26
5.6.50.0030.01313.90
5.6.40.0060.00914.31
5.6.30.0040.01114.25
5.6.20.0100.00014.11
5.6.10.0100.00314.21
5.6.00.0000.01214.21
5.5.380.0070.01014.06
5.5.370.0100.00613.83
5.5.360.0000.01114.20
5.5.350.0100.02317.35
5.5.340.0020.03316.14
5.5.330.0000.03117.42
5.5.320.0130.04817.18
5.5.310.0220.03717.13
5.5.300.0080.04116.15
5.5.290.0060.02316.16
5.5.280.0050.02617.62
5.5.270.0100.04217.54
5.5.260.0030.04617.59
5.5.250.0000.02917.46
5.5.240.0070.02817.38
5.5.230.0070.00714.09
5.5.220.0040.00413.85
5.5.210.0030.00614.34
5.5.200.0000.01613.88
5.5.190.0030.01014.05
5.5.180.0100.00013.86
5.5.170.0110.00714.17
5.5.160.0060.00914.10
5.5.150.0070.01114.17
5.5.140.0130.00014.02
5.5.130.0120.00013.75
5.5.120.0060.00914.08
5.5.110.0100.00313.93
5.5.100.0120.00014.18
5.5.90.0040.00414.16
5.5.80.0040.01114.16
5.5.70.0090.00314.25
5.5.60.0040.00814.01
5.5.50.0030.01314.02
5.5.40.0030.00713.82
5.5.30.0100.00313.91
5.5.20.0030.01014.22
5.5.10.0060.00614.15
5.5.00.0000.00914.14
5.4.450.0200.02714.96
5.4.440.0160.02815.17
5.4.430.0370.03415.22
5.4.420.0440.03214.92
5.4.410.0050.03514.82
5.4.400.0530.02714.83
5.4.390.0580.03214.64
5.4.380.0450.03514.69
5.4.370.0490.03014.71
5.4.360.0670.03214.84
5.4.350.0570.03314.80
5.4.340.0620.03714.58
5.4.330.0070.00410.80
5.4.320.0700.03514.74
5.4.310.0690.04114.50
5.4.300.0860.03014.74
5.4.290.0550.03514.73
5.4.280.0750.03214.60
5.4.270.0770.04314.66
5.4.260.0690.03314.73
5.4.250.0620.03014.63
5.4.240.0550.03514.64
5.4.230.0660.03314.63
5.4.220.0750.03214.61
5.4.210.0700.03714.76
5.4.200.0650.02213.78
5.4.190.0520.03114.65
5.4.180.0660.03214.74
5.4.170.0800.03814.59
5.4.160.0820.04114.64
5.4.150.0740.04014.47
5.4.140.0700.02913.30
5.4.130.0620.02513.39
5.4.120.0550.03613.43
5.4.110.0630.04113.53
5.4.100.0620.02713.57
5.4.90.0680.02613.54
5.4.80.0730.03413.41
5.4.70.0520.03613.49
5.4.60.0540.03313.38
5.4.50.0650.03413.61
5.4.40.0560.03813.58
5.4.30.0940.03613.58
5.4.20.0670.03113.60
5.4.10.0590.02713.54
5.4.00.0550.03113.23
5.3.290.1470.07014.66
5.3.280.1470.06314.62
5.3.270.1170.06714.59
5.3.260.1230.06014.59
5.3.250.1370.07014.58
5.3.240.1230.05014.59
5.3.230.1270.06314.52
5.3.220.1870.06314.49
5.3.210.1370.07714.55
5.3.200.1570.05314.56
5.3.190.1230.05014.66
5.3.180.1070.07014.52
5.3.170.1230.05014.49
5.3.160.1170.05714.65
5.3.150.1070.06314.63
5.3.140.1330.06714.58
5.3.130.1270.08014.47
5.3.120.1530.07314.59
5.3.110.0870.07014.54
5.3.100.0470.05313.95
5.3.90.0370.06013.91
5.3.80.0470.05013.98
5.3.70.0400.07013.90
5.3.60.0430.04713.89
5.3.50.0300.05313.92
5.3.40.0600.05713.87
5.3.30.0500.04313.85
5.3.20.0500.05313.60
5.3.10.0400.05313.58
5.3.00.0500.06713.57
5.2.170.0400.05011.18
5.2.160.0370.04011.16
5.2.150.0430.03311.10
5.2.140.0270.04711.11
5.2.130.0430.03711.05
5.2.120.0200.05711.13
5.2.110.0370.03711.06
5.2.100.0330.05711.14
5.2.90.0330.05711.13
5.2.80.0400.04011.15
5.2.70.0400.05011.09
5.2.60.0470.04711.18
5.2.50.0400.04711.06
5.2.40.0470.04711.12
5.2.30.0230.05710.88
5.2.20.0330.04011.09
5.2.10.0300.05010.89
5.2.00.0500.04010.75
5.1.60.0230.0439.95
5.1.50.0330.0439.96
5.1.40.0330.0409.98
5.1.30.0230.04010.48
5.1.20.0270.05010.37
5.1.10.0170.05010.18
5.1.00.0230.03710.03
5.0.50.0130.0378.48
5.0.40.0130.0278.37
5.0.30.0170.0538.24
5.0.20.0170.0278.39
5.0.10.0170.0338.18
5.0.00.0170.0538.35
4.4.90.0100.0205.91
4.4.80.0200.0175.93
4.4.70.0070.0305.85
4.4.60.0030.0305.89
4.4.50.0100.0205.91
4.4.40.0130.0375.91
4.4.30.0300.0305.89
4.4.20.0100.0275.92
4.4.10.0130.0335.96
4.4.00.0130.0435.95
4.3.110.0130.0235.85
4.3.100.0170.0275.84
4.3.90.0130.0235.79
4.3.80.0070.0505.87
4.3.70.0130.0305.87
4.3.60.0100.0305.91
4.3.50.0100.0305.80
4.3.40.0070.0505.75
4.3.30.0070.0235.63
4.3.20.0100.0205.63
4.3.10.0070.0205.63
4.3.00.0070.0236.89

preferences:
48.54 ms | 400 KiB | 5 Q